
{"id":8246,"date":"2013-03-05T16:48:57","date_gmt":"2013-03-05T16:48:57","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=8246"},"modified":"2013-03-05T16:48:57","modified_gmt":"2013-03-05T16:48:57","slug":"r-plotting-a-function-curve","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2013\/03\/05\/r-plotting-a-function-curve\/","title":{"rendered":"R Plotting a Function Curve"},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<pre>\n&gt; curve(x^3 - 5*x, from=-4, to=4)\n&gt; png(file=\"RcurveA.png\")\n&gt; curve(x^3 - 5*x, from=-4, to=4)\n&gt; dev.off()\nnull device\n          1\n&gt; png(file=\"RcurveB.png\")\n&gt; curve(x^3 - 5*x, from=-4, to=0)\n&gt; dev.off()\nnull device\n          1\n&gt; png(file=\"RcurveC.png\")\n&gt; curve(x^3 - 5*x, from=10, to=50)\n&gt; dev.off()\nnull device\n          1\n&gt;\n\n<\/pre>\n<p><a href=\"http:\/\/www.beautifulwork.org\/wp-content\/uploads\/2013\/03\/RcurveA.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.beautifulwork.org\/wp-content\/uploads\/2013\/03\/RcurveA-300x300.png\" alt=\"RcurveA\" width=\"300\" height=\"300\" class=\"alignright size-medium wp-image-8247\" \/><\/a><a href=\"http:\/\/www.beautifulwork.org\/wp-content\/uploads\/2013\/03\/RcurveB.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.beautifulwork.org\/wp-content\/uploads\/2013\/03\/RcurveB-300x300.png\" alt=\"RcurveB\" width=\"300\" height=\"300\" class=\"alignright size-medium wp-image-8248\" \/><\/a><a href=\"http:\/\/www.beautifulwork.org\/wp-content\/uploads\/2013\/03\/RcurveC.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.beautifulwork.org\/wp-content\/uploads\/2013\/03\/RcurveC-300x300.png\" alt=\"RcurveC\" width=\"300\" height=\"300\" class=\"alignright size-medium wp-image-8249\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>commandline session &gt; curve(x^3 &#8211; 5*x, from=-4, to=4) &gt; png(file=&#8221;RcurveA.png&#8221;) &gt; curve(x^3 &#8211; 5*x, from=-4, to=4) &gt; dev.off() null device 1 &gt; png(file=&#8221;RcurveB.png&#8221;) &gt; curve(x^3 &#8211; 5*x, from=-4, to=0) &gt; dev.off() null device 1 &gt; png(file=&#8221;RcurveC.png&#8221;) &gt; curve(x^3 &#8211; 5*x, from=10, to=50) &gt; dev.off() null device 1 &gt;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/8246"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=8246"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/8246\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=8246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=8246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=8246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}