<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - comments on Post, pre-sized plots</title>
    <link>http://www.mapleprimes.com/posts/125899-Presized-Plots</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 09 Jun 2026 08:24:23 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 08:24:23 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest comments added to the Post, pre-sized plots</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - comments on Post, pre-sized plots</title>
      <link>http://www.mapleprimes.com/posts/125899-Presized-Plots</link>
    </image>
    <item>
      <title>sucessfully tested on Maple 15 / Windows 7 - 64bits</title>
      <link>http://www.mapleprimes.com/posts/125899-Presized-Plots?ref=Feed:MaplePrimes:pre-sized plots:Comments#comment125900</link>
      <itunes:summary>&lt;p&gt;worked flawlessly here, easy to install, great package thanks!&lt;/p&gt;
&lt;p&gt;Resizing plots programmatically is a frequently requested feature. A great add-on.&lt;/p&gt;
&lt;pre&gt;&lt;br&gt;### Query the intallation folder location:&lt;/pre&gt;
&lt;pre&gt;cat(kernelopts(homedir),"/maple/toolbox/Resize") ;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "C:\Users\patrick/maple/toolbox/Resize"&lt;/pre&gt;
&lt;pre&gt;&lt;br&gt;### An example of use is found here:&lt;/pre&gt;
&lt;pre&gt;cat(kernelopts(homedir),"/maple/toolbox/Resize/Examples/Resized_plots.mw") ;&lt;br&gt;"C:\Users\patrick/maple/toolbox/Resize/Examples/Resized_plots.mw"&lt;/pre&gt;
&lt;pre&gt;&lt;br&gt;### Install acer's Package "Resize_installer.mla"&lt;br&gt;&lt;br&gt;march( 'open', "C:/tmp/Resize_installer.mla");&lt;br&gt;&lt;br&gt;&lt;/pre&gt;</itunes:summary>
      <description>The latest comments added to the Post, pre-sized plots</description>
      <guid>125900</guid>
      <pubDate>Sat, 24 Sep 2011 12:15:18 Z</pubDate>
      <itunes:author>PatrickT</itunes:author>
      <author>PatrickT</author>
    </item>
    <item>
      <title>trivial issues</title>
      <link>http://www.mapleprimes.com/posts/125899-Presized-Plots?ref=Feed:MaplePrimes:pre-sized plots:Comments#comment125901</link>
      <itunes:summary>&lt;p&gt;It installs and runs on Linux 64.&amp;nbsp; Thanks for this practical utility.&lt;/p&gt;
&lt;p&gt;I ran into two minor issues during installation. First, after selecting File -&amp;gt; Open to open the .mla file, I forgot to select the extension type (*.mla), so could not initially find the file where I downloaded it.&amp;nbsp; My mistake.&amp;nbsp; Second, after starting the installation, the dialog that opened had a "cancel" button but no "next" button.&amp;nbsp;&amp;nbsp; Turns out the default dialog box size was too narrow on my machine, so the "next" button, which exists, does not appear unless the window is manually widened.&amp;nbsp; Took me a while to figure that out. This can be avoided by setting width=1000 when constructing the installer.&lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, pre-sized plots</description>
      <guid>125901</guid>
      <pubDate>Sat, 24 Sep 2011 19:40:24 Z</pubDate>
      <itunes:author>Joe Riel</itunes:author>
      <author>Joe Riel</author>
    </item>
    <item>
      <title>Nice Job on Resize</title>
      <link>http://www.mapleprimes.com/posts/125899-Presized-Plots?ref=Feed:MaplePrimes:pre-sized plots:Comments#comment128895</link>
      <itunes:summary>&lt;p&gt;This was easy to install and use. (Maple 15, Windows 7 64 bit).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One question.&amp;nbsp; This seems to proliferate locations where Maple code is located.&amp;nbsp; Would ther ebe any issues in putting it in the Maple 15/Toolbox?&amp;nbsp; If there are none, what would ahve to change to make it work?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Bruce&lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, pre-sized plots</description>
      <guid>128895</guid>
      <pubDate>Sat, 17 Dec 2011 02:14:51 Z</pubDate>
      <itunes:author>Bruce Scranton</itunes:author>
      <author>Bruce Scranton</author>
    </item>
    <item>
      <title>toolbox and libname</title>
      <link>http://www.mapleprimes.com/posts/125899-Presized-Plots?ref=Feed:MaplePrimes:pre-sized plots:Comments#comment128919</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/posts/125899-Presized-Plots#comment128895"&gt;@Bruce Scranton&lt;/a&gt; The default location is automatically added to &lt;a href='http://www.maplesoft.com/support/help/search.aspx?term=libname' target='_new'&gt;?libname&lt;/a&gt;. Alternatively, you could create a catch-all directory, say, ~/maple/toolbox/mystuff/lib and put it there.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Modifying the directory structure of a program's installation is usually not a great thing to do.&amp;nbsp; Also, the location you gave won't automatically be added to libname, though you could change it slightly to have it work:&amp;nbsp; Maple 15/toolbox/whatever/lib should work.&amp;nbsp; &lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, pre-sized plots</description>
      <guid>128919</guid>
      <pubDate>Sat, 17 Dec 2011 07:01:15 Z</pubDate>
      <itunes:author>Joe Riel</itunes:author>
      <author>Joe Riel</author>
    </item>
    <item>
      <title>I'd have to check</title>
      <link>http://www.mapleprimes.com/posts/125899-Presized-Plots?ref=Feed:MaplePrimes:pre-sized plots:Comments#comment128921</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/posts/125899-Presized-Plots#comment128895"&gt;@Bruce Scranton&lt;/a&gt;&amp;nbsp;&lt;/p&gt;As Joe mentions, in general you could create a catch-all folder for such add-on material. The key thing there is that certain locations for folders named "lib" will automatically get added to `libname` upon Maple startup.
&lt;p&gt;But the underlying mechanism (read: trick) at work for this sized plot insertion is that it has to first save to an .hdb help file. Offhand, I can't recall whether the private .hdb file it's using for that is referenced with a hard-coded location. I suspect that it tries to write to a particularly named .hdb file, the specific location of which may or may not matter. It's probably safe to try moving it to cat(kernelopts(mapledir),"/toolbox"), as Joe described.
&lt;p&gt;I keep meaning to come back to this thing. I now believe that I might be able to wrap the two relevent INTERFACE_XYZBLAH() calls inside streamcall() and by doing so get the full effect with just a single procedural top-level return. By which I mean I should be able to get rid of that second function call, to insert into the current worksheet.&lt;/p&gt;
&lt;p&gt;Ideally the plot should be placed into an output area, when inserted into the running worksheet. And it might be nice to (optionally) allow the actual plot command in question to be inserted into the corresponding input area. Hopefully, that would mean (behaving as usual) that subsequent re-execution of that inserted plot command would re-fill the presized output and retain the specified size. And the `Resize` call could be deleted by the worksheet author, immediately following insertion. The `Resize` call isn't wanted, longterm, as re-execution of the worksheet would cause repeated insertions, not overwrites.&lt;/p&gt;
Lastly, food for thought in this holiday season: the underlying mechanism allows on-the-fly insertion of programatically constructed portions of worksheet XML. What other kinds of compound and complex worksheet objects do we want to be able to programatically construct and insert, live, into a running Worksheet or Document? (I have a running wishlist of my own,...)</itunes:summary>
      <description>The latest comments added to the Post, pre-sized plots</description>
      <guid>128921</guid>
      <pubDate>Sat, 17 Dec 2011 07:47:26 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>Godd question Acer</title>
      <link>http://www.mapleprimes.com/posts/125899-Presized-Plots?ref=Feed:MaplePrimes:pre-sized plots:Comments#comment128929</link>
      <itunes:summary>&lt;p&gt;&lt;span style="color: black; font-family: 'Verdana','sans-serif'; font-size: 7.5pt;"&gt;You are a step ahead (maybe two or three) of where I am on this type of programming. But I know enough to appreciate what you are doing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black; font-family: 'Verdana','sans-serif'; font-size: 7.5pt;"&gt;You made a comment (about re-execution) that has me wondering about my experience last night.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black; font-family: 'Verdana','sans-serif'; font-size: 7.5pt;"&gt;I have a worksheet where I calculate and plot (polygonplot) Helga von Koch's snowflakes. In general my interest in resizing is to get a plot with as much detail as I am going to be able to use in class, not make a small plot and have generic algorithms stretch it larger. Specifically in this case I want to show as much detail of the snowflake as I can.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black; font-family: 'Verdana','sans-serif'; font-size: 7.5pt;"&gt;When I was working with it last night I computed the snowflakes and assigned them to kochstar(i). I then tried to display using the Resize() and Show(). The first one worked perfectly. However after that one, the code would seem to execute, but it would always show me the plot that I did first. Is there some sort of reinitialization that I need to add? I don't what to have to use restart, because I have just filled my memory with snowflakes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black; font-family: 'Verdana','sans-serif'; font-size: 7.5pt;"&gt;Thanks and have a Blessed Christmas,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black; font-family: 'Verdana','sans-serif'; font-size: 7.5pt;"&gt;Bruce&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, pre-sized plots</description>
      <guid>128929</guid>
      <pubDate>Sat, 17 Dec 2011 23:01:51 Z</pubDate>
      <itunes:author>Bruce Scranton</itunes:author>
      <author>Bruce Scranton</author>
    </item>
  </channel>
</rss>