<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Plots with units</title>
    <link>http://www.mapleprimes.com/questions/35779-Plots-With-Units</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 20:44:59 GMT</lastBuildDate>
    <pubDate>Sat, 13 Jun 2026 20:44:59 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Plots with units</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Plots with units</title>
      <link>http://www.mapleprimes.com/questions/35779-Plots-With-Units</link>
    </image>
    <item>
      <title>Removing units beforehand?</title>
      <link>http://www.mapleprimes.com/questions/35779-Plots-With-Units?ref=Feed:MaplePrimes:Plots with units:Comments#answer45099</link>
      <itunes:summary>&lt;p&gt;Maybe I need to redefine the dimensions without units and plot the graph and then put labels on manually:&lt;/p&gt;
&lt;p&gt;&amp;gt; plot(A(t), t=0..100, labels=[t [[years]], A [[Bq]] ])&lt;/p&gt;
&lt;p&gt;I can make it work this way, but it is&amp;nbsp;annoying this is necessary ...&lt;/p&gt;
&lt;p&gt;Regards, Erik V.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Maybe I need to redefine the dimensions without units and plot the graph and then put labels on manually:&lt;/p&gt;
&lt;p&gt;&amp;gt; plot(A(t), t=0..100, labels=[t [[years]], A [[Bq]] ])&lt;/p&gt;
&lt;p&gt;I can make it work this way, but it is&amp;nbsp;annoying this is necessary ...&lt;/p&gt;
&lt;p&gt;Regards, Erik V.&lt;/p&gt;</description>
      <guid>45099</guid>
      <pubDate>Tue, 09 Feb 2010 20:45:26 Z</pubDate>
      <itunes:author>erik10</itunes:author>
      <author>erik10</author>
    </item>
    <item>
      <title>help...?</title>
      <link>http://www.mapleprimes.com/questions/35779-Plots-With-Units?ref=Feed:MaplePrimes:Plots with units:Comments#answer45100</link>
      <itunes:summary>&lt;pre&gt;
restart;&lt;br /&gt;T := 30:&lt;br /&gt;A0 := 370000:&lt;br /&gt;A := t-&amp;gt; A0*(1/2)^(t/T);&lt;br /&gt;plot(A(t), t = 0 .. 100, A = 0 .. 400000,
 useunits = [Unit('years'), Unit('Bq')]);
&lt;/pre&gt;
&lt;p&gt;&lt;u&gt;&lt;font color="#800080"&gt;&lt;a href="http://www.mapleprimes.com/files/9494_units_graph.jpg"&gt;http://www.mapleprimes.com/files/9494_units_graph.jpg&lt;/a&gt;&lt;/font&gt;&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;pre&gt;
restart;&lt;br /&gt;T := 30:&lt;br /&gt;A0 := 370000:&lt;br /&gt;A := t-&amp;gt; A0*(1/2)^(t/T);&lt;br /&gt;plot(A(t), t = 0 .. 100, A = 0 .. 400000,
 useunits = [Unit('years'), Unit('Bq')]);
&lt;/pre&gt;
&lt;p&gt;&lt;u&gt;&lt;font color="#800080"&gt;&lt;a href="http://www.mapleprimes.com/files/9494_units_graph.jpg"&gt;http://www.mapleprimes.com/files/9494_units_graph.jpg&lt;/a&gt;&lt;/font&gt;&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>45100</guid>
      <pubDate>Wed, 10 Feb 2010 03:32:16 Z</pubDate>
      <itunes:author>herclau</itunes:author>
      <author>herclau</author>
    </item>
    <item>
      <title>Right, but still it is</title>
      <link>http://www.mapleprimes.com/questions/35779-Plots-With-Units?ref=Feed:MaplePrimes:Plots with units:Comments#comment45101</link>
      <itunes:summary>&lt;p&gt;Right, but still it is annoying to have to strip off units to be able to make this plot, after having solved the first part of the exercise using units. Almost the same command lines need to be written twice.&amp;nbsp;I simply don't understand why Maple can't handle this situation: It is clear and&amp;nbsp;unambigious what units are being used for the independent variable t and the&amp;nbsp;units for the dependent variabel A!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards, Erik V.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Right, but still it is annoying to have to strip off units to be able to make this plot, after having solved the first part of the exercise using units. Almost the same command lines need to be written twice.&amp;nbsp;I simply don't understand why Maple can't handle this situation: It is clear and&amp;nbsp;unambigious what units are being used for the independent variable t and the&amp;nbsp;units for the dependent variabel A!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards, Erik V.&lt;/p&gt;</description>
      <guid>45101</guid>
      <pubDate>Wed, 10 Feb 2010 04:34:46 Z</pubDate>
      <itunes:author>erik10</itunes:author>
      <author>erik10</author>
    </item>
    <item>
      <title>How about this?</title>
      <link>http://www.mapleprimes.com/questions/35779-Plots-With-Units?ref=Feed:MaplePrimes:Plots with units:Comments#comment45102</link>
      <itunes:summary>&lt;p&gt;If you change the plot command from your original example to the following it seems to work in Maple 13.&lt;/p&gt;
&lt;p style="margin-left: 40px;"&gt;plot(A(t*Unit(year)), t=0..100*Unit(year));&lt;/p&gt;
&lt;p&gt;This will allow you to use your normal function that contains units, just that you specify the unit that is going to be used for the input variable. &lt;/p&gt;
&lt;p&gt;Scott&lt;br /&gt;
Applicaiton Developer&lt;br /&gt;
Maplesoft&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;If you change the plot command from your original example to the following it seems to work in Maple 13.&lt;/p&gt;
&lt;p style="margin-left: 40px;"&gt;plot(A(t*Unit(year)), t=0..100*Unit(year));&lt;/p&gt;
&lt;p&gt;This will allow you to use your normal function that contains units, just that you specify the unit that is going to be used for the input variable. &lt;/p&gt;
&lt;p&gt;Scott&lt;br /&gt;
Applicaiton Developer&lt;br /&gt;
Maplesoft&lt;/p&gt;</description>
      <guid>45102</guid>
      <pubDate>Wed, 10 Feb 2010 23:37:17 Z</pubDate>
      <itunes:author>Scott03</itunes:author>
      <author>Scott03</author>
    </item>
    <item>
      <title>Thank you so much, Scott!</title>
      <link>http://www.mapleprimes.com/questions/35779-Plots-With-Units?ref=Feed:MaplePrimes:Plots with units:Comments#comment45103</link>
      <itunes:summary>&lt;p&gt;Thank you so much, Scott! You are right it works well. I am however still puzzled about the logic behind this syntax: When t runs from 0 to 100[[years]], then t[[years]] should run from 0 to100 [[years]]^2 in my World. Is Maple totally consistent here?Anyway I appreciate your answer!&lt;/p&gt;
&lt;p&gt;Regards, Erik V.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thank you so much, Scott! You are right it works well. I am however still puzzled about the logic behind this syntax: When t runs from 0 to 100[[years]], then t[[years]] should run from 0 to100 [[years]]^2 in my World. Is Maple totally consistent here?Anyway I appreciate your answer!&lt;/p&gt;
&lt;p&gt;Regards, Erik V.&lt;/p&gt;</description>
      <guid>45103</guid>
      <pubDate>Thu, 11 Feb 2010 05:26:44 Z</pubDate>
      <itunes:author>erik10</itunes:author>
      <author>erik10</author>
    </item>
  </channel>
</rss>