<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Plotting functions</title><link>https://sourceforge.net/p/resparser/wiki/Plotting%2520functions/</link><description>Recent changes to Plotting functions</description><atom:link href="https://sourceforge.net/p/resparser/wiki/Plotting%20functions/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 27 Oct 2013 15:16:22 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/resparser/wiki/Plotting%20functions/feed" rel="self" type="application/rss+xml"/><item><title>Plotting functions modified by Gianluigi Forte</title><link>https://sourceforge.net/p/resparser/wiki/Plotting%2520functions/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="plotting-functions"&gt;Plotting functions&lt;/h1&gt;
&lt;p&gt;It is possible to create the graph of one mono-dimensional user-defined function with the command &lt;strong&gt;plot&lt;/strong&gt;  (&lt;strong&gt;draw&lt;/strong&gt; is equivalent).&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;f(x)=4*sin(x)&lt;br /&gt;
&lt;strong&gt;nan&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;plot f&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The plot window will be open showing the graph of the function.&lt;/p&gt;
&lt;p&gt;When not specified the range of the graph will be from x=-10 to x=10 and with a resolution of 0.01.&lt;/p&gt;
&lt;p&gt;It is possible to specify the required range and resolution with the &lt;strong&gt;plot&lt;/strong&gt; command using the syntax:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;plot func[minX:maxX:StepX]&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;for instance&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;plot f[-4:4:0.001]&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Before a function is drawn, the data to be shown is calculated according the range and the resolution settled and this data is stored together with the function to speedup the successive plot requests. This data is called RAW data and is saved between sessions. If the range of the plot is changed or the function itself it is changed the RAW data is cleared. It is always possible to clear the raw data with the command &lt;strong&gt;clearraw func_name&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;It is also possible to import a RAW data from a text file using session-&amp;gt;import RAW data action.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gianluigi Forte</dc:creator><pubDate>Sun, 27 Oct 2013 15:16:22 -0000</pubDate><guid>https://sourceforge.net6a11f1890f72aa2031f53f17e765297212bcc32a</guid></item></channel></rss>