<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Help with plotting</title>
    <link>http://www.mapleprimes.com/questions/142688-Help-With-Plotting</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Sat, 13 Jun 2026 18:45:53 GMT</lastBuildDate>
    <pubDate>Sat, 13 Jun 2026 18:45:53 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Help with plotting</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Help with plotting</title>
      <link>http://www.mapleprimes.com/questions/142688-Help-With-Plotting</link>
    </image>
    <item>
      <title>Return unevaluated</title>
      <link>http://www.mapleprimes.com/questions/142688-Help-With-Plotting?ref=Feed:MaplePrimes:Help with plotting:Comments#answer142691</link>
      <itunes:summary>&lt;p&gt;plot evaluates its arguments first (as most Maple procedures do). So pltx(2, 5, x) is evaluated. But x is just a name. So obviously the inequality checks in pltx cannot succeed.&lt;/p&gt;
&lt;p&gt;Either use unevaluation quotes around pltx(2, 5, x) as in:&lt;/p&gt;
&lt;p&gt;d := plot('pltx(2, 5, x)', x = 0.1 .. 0.4);&lt;/p&gt;
&lt;p&gt;or change the procedure so it begins like this&lt;/p&gt;
&lt;p&gt;pltx := proc (num1::integer, num2::integer, x) &lt;br&gt;if not x::numeric then return 'procname(_passed)' end if;&lt;br&gt;#The rest unchanged&lt;/p&gt;
&lt;p&gt;This will mean that&lt;/p&gt;
&lt;p&gt;pltx(2, 5, x);&lt;/p&gt;
&lt;p&gt;returns unevaluated, if x is not of type numeric.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;plot evaluates its arguments first (as most Maple procedures do). So pltx(2, 5, x) is evaluated. But x is just a name. So obviously the inequality checks in pltx cannot succeed.&lt;/p&gt;
&lt;p&gt;Either use unevaluation quotes around pltx(2, 5, x) as in:&lt;/p&gt;
&lt;p&gt;d := plot('pltx(2, 5, x)', x = 0.1 .. 0.4);&lt;/p&gt;
&lt;p&gt;or change the procedure so it begins like this&lt;/p&gt;
&lt;p&gt;pltx := proc (num1::integer, num2::integer, x) &lt;br&gt;if not x::numeric then return 'procname(_passed)' end if;&lt;br&gt;#The rest unchanged&lt;/p&gt;
&lt;p&gt;This will mean that&lt;/p&gt;
&lt;p&gt;pltx(2, 5, x);&lt;/p&gt;
&lt;p&gt;returns unevaluated, if x is not of type numeric.&lt;/p&gt;</description>
      <guid>142691</guid>
      <pubDate>Sun, 27 Jan 2013 21:38:56 Z</pubDate>
      <itunes:author>Preben Alsholm</itunes:author>
      <author>Preben Alsholm</author>
    </item>
    <item>
      <title>piecewise</title>
      <link>http://www.mapleprimes.com/questions/142688-Help-With-Plotting?ref=Feed:MaplePrimes:Help with plotting:Comments#answer142707</link>
      <itunes:summary>&lt;p&gt;Preben's answer is great, and it will work for procedures in general. I just want to direct you to a great command that is made especially for your kind of function: It's called &lt;a href="http://www.maplesoft.com/support/help/search.aspx?term=piecewise"&gt;?piecewise&lt;/a&gt;.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Preben's answer is great, and it will work for procedures in general. I just want to direct you to a great command that is made especially for your kind of function: It's called &lt;a href="http://www.maplesoft.com/support/help/search.aspx?term=piecewise"&gt;?piecewise&lt;/a&gt;.&lt;/p&gt;</description>
      <guid>142707</guid>
      <pubDate>Mon, 28 Jan 2013 01:08:39 Z</pubDate>
      <itunes:author>Carl Love</itunes:author>
      <author>Carl Love</author>
    </item>
    <item>
      <title>Thank you</title>
      <link>http://www.mapleprimes.com/questions/142688-Help-With-Plotting?ref=Feed:MaplePrimes:Help with plotting:Comments#comment142701</link>
      <itunes:summary>&lt;p&gt;Great help and worked perfectly :) Saved me hours :)&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Great help and worked perfectly :) Saved me hours :)&lt;/p&gt;</description>
      <guid>142701</guid>
      <pubDate>Mon, 28 Jan 2013 00:26:27 Z</pubDate>
      <itunes:author>splatcat</itunes:author>
      <author>splatcat</author>
    </item>
  </channel>
</rss>