<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ahay.org/index.php?action=history&amp;feed=atom&amp;title=Graphics_with_GLE</id>
	<title>Graphics with GLE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ahay.org/index.php?action=history&amp;feed=atom&amp;title=Graphics_with_GLE"/>
	<link rel="alternate" type="text/html" href="https://ahay.org/index.php?title=Graphics_with_GLE&amp;action=history"/>
	<updated>2026-08-05T04:23:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>https://ahay.org/index.php?title=Graphics_with_GLE&amp;diff=1447&amp;oldid=prev</id>
		<title>Sfomel at 22:53, 15 September 2010</title>
		<link rel="alternate" type="text/html" href="https://ahay.org/index.php?title=Graphics_with_GLE&amp;diff=1447&amp;oldid=prev"/>
		<updated>2010-09-15T22:53:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:53, 15 September 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plots from user-defined scripts. It has both very basic drawing primitives and more advanced canvases. It is similar to the vplot core library, with the difference is that plotting templates are saved in script files instead of C programs. Here is an example of a SConstruct drawing a simple 2D analytic function in isometric view:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plots from user-defined scripts. It has both very basic drawing primitives and more advanced canvases. It is similar to the vplot core library, with the difference is that plotting templates are saved in script files instead of C programs. Here is an example of a SConstruct drawing a simple 2D analytic function in isometric view:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;python&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;python&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;from &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rsfproj &lt;/del&gt;import *&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;from &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rsf.proj &lt;/ins&gt;import *&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;o1=-2&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;o1=-2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sfomel</name></author>
	</entry>
	<entry>
		<id>https://ahay.org/index.php?title=Graphics_with_GLE&amp;diff=952&amp;oldid=prev</id>
		<title>Sfomel at 13:15, 13 September 2009</title>
		<link rel="alternate" type="text/html" href="https://ahay.org/index.php?title=Graphics_with_GLE&amp;diff=952&amp;oldid=prev"/>
		<updated>2009-09-13T13:15:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:15, 13 September 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l58&quot;&gt;Line 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;end surface&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;end surface&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/del&gt;scons lock&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; &lt;/del&gt;works just fine and the resulted image is ready to be used in a paper with the regular macros like &amp;lt;tt&amp;gt;\plot&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;\multiplot&amp;lt;/tt&amp;gt; .&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;b&amp;gt;&lt;/ins&gt;scons lock&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/b&amp;gt; &lt;/ins&gt;works just fine and the resulted image is ready to be used in a paper with the regular macros like &amp;lt;tt&amp;gt;\plot&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;\multiplot&amp;lt;/tt&amp;gt; .&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The only problem that appears is when &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/del&gt;scons view&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; &lt;/del&gt;is run. It tries to run &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;xtpen &lt;/del&gt;to view the resulted PDF file and fails, of course. But other than that, the result (figure below) shows a nice isometric plot, which can be easily reproduced in a regular Madagascar fashion.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The only problem that appears is when &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;b&amp;gt;&lt;/ins&gt;scons view&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/b&amp;gt; &lt;/ins&gt;is run. It tries to run &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;tt&amp;gt;sfpen&amp;lt;/tt&amp;gt; &lt;/ins&gt;to view the resulted PDF file and fails, of course. But other than that, the result (figure below) shows a nice isometric plot, which can be easily reproduced in a regular Madagascar fashion.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:GLE_example.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:GLE_example.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sfomel</name></author>
	</entry>
	<entry>
		<id>https://ahay.org/index.php?title=Graphics_with_GLE&amp;diff=876&amp;oldid=prev</id>
		<title>Nick: disfil instead of /bin/cat, as in Vladimir&#039;s 2009-04-05 e-mail to rsf-user</title>
		<link rel="alternate" type="text/html" href="https://ahay.org/index.php?title=Graphics_with_GLE&amp;diff=876&amp;oldid=prev"/>
		<updated>2009-06-26T08:17:41Z</updated>

		<summary type="html">&lt;p&gt;disfil instead of /bin/cat, as in Vladimir&amp;#039;s 2009-04-05 e-mail to rsf-user&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:17, 26 June 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Flow(&amp;#039;cosxpy.z&amp;#039;,&amp;#039;cosxpy&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Flow(&amp;#039;cosxpy.z&amp;#039;,&amp;#039;cosxpy&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     disfil number=n col=%d &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     disfil number=n col=%d&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    (echo &lt;/del&gt;&quot;! nx %d ny %d xmin %g xmax %g ymin %g ymax %g&quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;&amp;amp; /bin/cat)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            header=&lt;/ins&gt;&quot;! nx %d ny %d xmin %g xmax %g ymin %g ymax %g&quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;#039;&amp;#039;&amp;#039; % (n2,n1,n2,o1,o1+(n1-1)*d1,o2,o2+(n2-1)*d2))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;#039;&amp;#039;&amp;#039; % (n2,n1,n2,o1,o1+(n1-1)*d1,o2,o2+(n2-1)*d2))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nick</name></author>
	</entry>
	<entry>
		<id>https://ahay.org/index.php?title=Graphics_with_GLE&amp;diff=864&amp;oldid=prev</id>
		<title>Nick: inserted figure</title>
		<link rel="alternate" type="text/html" href="https://ahay.org/index.php?title=Graphics_with_GLE&amp;diff=864&amp;oldid=prev"/>
		<updated>2009-06-25T22:56:26Z</updated>

		<summary type="html">&lt;p&gt;inserted figure&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:56, 25 June 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l59&quot;&gt;Line 59:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;quot;scons lock&amp;quot; works just fine and the resulted image is ready to be used in a paper with the regular macros like &amp;lt;tt&amp;gt;\plot&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;\multiplot&amp;lt;/tt&amp;gt; .&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;quot;scons lock&amp;quot; works just fine and the resulted image is ready to be used in a paper with the regular macros like &amp;lt;tt&amp;gt;\plot&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;\multiplot&amp;lt;/tt&amp;gt; .&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The only problem that appears is when &quot;scons view&quot; is run. It tries to run xtpen to view the resulted PDF file and fails, of course. But other than that, the result shows a nice isometric plot, which can be easily reproduced in a regular Madagascar fashion.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The only problem that appears is when &quot;scons view&quot; is run. It tries to run xtpen to view the resulted PDF file and fails, of course. But other than that, the result &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(figure below) &lt;/ins&gt;shows a nice isometric plot, which can be easily reproduced in a regular Madagascar fashion.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;XXXXXXXXXX Figure from 2009-04-03 message to rsf-user here XXXXXXXXXXXXXXXXXXX&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Image:GLE_example.png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nick</name></author>
	</entry>
	<entry>
		<id>https://ahay.org/index.php?title=Graphics_with_GLE&amp;diff=857&amp;oldid=prev</id>
		<title>Nick: New page: The [http://glx.sourceforge.net Graphics Layout Engine] is a multi-platform open-source package that can create a whole variety of plots from user-defined scripts. It has both very basic d...</title>
		<link rel="alternate" type="text/html" href="https://ahay.org/index.php?title=Graphics_with_GLE&amp;diff=857&amp;oldid=prev"/>
		<updated>2009-06-23T23:58:02Z</updated>

		<summary type="html">&lt;p&gt;New page: The [http://glx.sourceforge.net Graphics Layout Engine] is a multi-platform open-source package that can create a whole variety of plots from user-defined scripts. It has both very basic d...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The [http://glx.sourceforge.net Graphics Layout Engine] is a multi-platform open-source package that can create a whole variety of&lt;br /&gt;
plots from user-defined scripts. It has both very basic drawing primitives and more advanced canvases. It is similar to the vplot core library, with the difference is that plotting templates are saved in script files instead of C programs. Here is an example of a SConstruct drawing a simple 2D analytic function in isometric view:&lt;br /&gt;
&amp;lt;python&amp;gt;&lt;br /&gt;
from rsfproj import *&lt;br /&gt;
&lt;br /&gt;
o1=-2&lt;br /&gt;
o2=-2&lt;br /&gt;
n1=41&lt;br /&gt;
n2=41&lt;br /&gt;
d1=0.1&lt;br /&gt;
d2=0.1&lt;br /&gt;
&lt;br /&gt;
Flow(&amp;#039;cosxpy&amp;#039;,None,&lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    math o1=%g o2=%g n1=%d n2=%d d1=%g d2=%g&lt;br /&gt;
          output=&amp;quot;cos(x1*x1+x2*x2)*exp(-0.1*(x1*x1+x2*x2))&amp;quot;&lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039; % (o1,o2,n1,n2,d1,d2))&lt;br /&gt;
&lt;br /&gt;
Result(&amp;#039;cosxpy&amp;#039;,&amp;#039;grey color=j&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
# Prepare data for GLE&lt;br /&gt;
Flow(&amp;#039;cosxpy.z&amp;#039;,&amp;#039;cosxpy&amp;#039;,&lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    disfil number=n col=%d |&lt;br /&gt;
    (echo &amp;quot;! nx %d ny %d xmin %g xmax %g ymin %g ymax %g&amp;quot; &amp;amp;&amp;amp; /bin/cat)&lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039; % (n2,n1,n2,o1,o1+(n1-1)*d1,o2,o2+(n2-1)*d2))&lt;br /&gt;
&lt;br /&gt;
# Call GLE&lt;br /&gt;
Result(&amp;#039;cosxpy_iso&amp;#039;,&amp;#039;cosxpy.gle cosxpy.z&amp;#039;,&lt;br /&gt;
      &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
      gle -device pdf -output ${TARGETS[0]} ${SOURCES[0]}&lt;br /&gt;
      &amp;#039;&amp;#039;&amp;#039;,suffix=&amp;#039;.pdf&amp;#039;,stdin=0,stdout=0)&lt;br /&gt;
&lt;br /&gt;
End()&lt;br /&gt;
&amp;lt;/python&amp;gt;&lt;br /&gt;
The trick is wrapped into the two last &amp;lt;tt&amp;gt;Result()&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Flow()&amp;lt;/tt&amp;gt; statements. The Flow generates a special ASCII file with function values, which will be later used by GLE. The Result actually calls GLE and makes it write a PDF file. The drawing script is contained in another file -- &amp;lt;tt&amp;gt;cosxpy.gle&amp;lt;/tt&amp;gt; , which has a rather simple format:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
size 10 10&lt;br /&gt;
&lt;br /&gt;
set font texcmr hei 0.5 just tc&lt;br /&gt;
&lt;br /&gt;
begin surface&lt;br /&gt;
    size 10 10&lt;br /&gt;
    data &amp;quot;cosxpy.z&amp;quot;&lt;br /&gt;
    title &amp;quot;Hat function (3D)&amp;quot;&lt;br /&gt;
    xtitle &amp;quot;X-axis&amp;quot; hei 0.4 dist 0.7&lt;br /&gt;
    ytitle &amp;quot;Y-axis&amp;quot; hei 0.4 dist 0.7&lt;br /&gt;
    ztitle &amp;quot;Z-axis&amp;quot; hei 0.4 dist 0.9&lt;br /&gt;
    top color red&lt;br /&gt;
    underneath color blue&lt;br /&gt;
    base xstep 1 ystep 1&lt;br /&gt;
    zaxis min -1.5 max 1.5 hei 0.35&lt;br /&gt;
    xaxis hei 0.35 dticks 1&lt;br /&gt;
    yaxis hei 0.35 dticks 1&lt;br /&gt;
    xlines on&lt;br /&gt;
    ylines on&lt;br /&gt;
    rotate 45 60 0&lt;br /&gt;
end surface&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;quot;scons lock&amp;quot; works just fine and the resulted image is ready to be used in a paper with the regular macros like &amp;lt;tt&amp;gt;\plot&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;\multiplot&amp;lt;/tt&amp;gt; .&lt;br /&gt;
The only problem that appears is when &amp;quot;scons view&amp;quot; is run. It tries to run xtpen to view the resulted PDF file and fails, of course. But other than that, the result shows a nice isometric plot, which can be easily reproduced in a regular Madagascar fashion.&lt;br /&gt;
&lt;br /&gt;
XXXXXXXXXX Figure from 2009-04-03 message to rsf-user here XXXXXXXXXXXXXXXXXXX&lt;/div&gt;</summary>
		<author><name>Nick</name></author>
	</entry>
</feed>