<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Aptech &#187; Answers for "plotSave of a set of subplots."</title>
	<atom:link href="http://www.aptech.com/questions/plotsave-of-a-set-of-subplots/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aptech.com</link>
	<description></description>
	<lastBuildDate>Fri, 08 Feb 2013 19:12:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>By: aptech</title>
		<link>http://www.aptech.com/questions/plotsave-of-a-set-of-subplots/#answer-3095</link>
		<comments>http://www.aptech.com/questions/plotsave-of-a-set-of-subplots/#answer-3095#comments</comments>
		<pubDate>Thu, 07 Feb 2013 17:45:16 +0000</pubDate>
		<dc:creator>aptech</dc:creator>
		
		<guid isPermaLink="false">http://www.aptech.com/questions/plotsave-of-a-set-of-subplots/#answer-3095</guid>
		<description><![CDATA[The command plotSave treats the entire graph tab as one image&#8211;all subplots or custom regions included. The code below illustrates this: x = seqa(1, 1, 10); for i(1, 4, 1); y = rndn(rows(x), 1); plotLayout(2, 2, i); plotScatter(x, y); endfor; &#8230; <a href="http://www.aptech.com/questions/plotsave-of-a-set-of-subplots/#answer-3095">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The command <tt>plotSave</tt> treats the entire graph tab as one image&#8211;all subplots or custom regions included. The code below illustrates this:</p>
<pre>
x = seqa(1, 1, 10);


<span style="color:#0000ff">for</span> i(1, 4, 1);
	y = rndn(rows(x), 1);
	plotLayout(2, 2, i);
	plotScatter(x, y);
<span style="color:#0000ff">endfor</span>;

plotClearLayout();
plotSave(<span style="color:#7f007f">"sample.pdf"</span>, 30|18);
</pre>
<p>After running this code snippet you should have a file <tt>sample.pdf</tt> in your current working directory that shows all four supblots.</p>
<p><a href='http://www.aptech.com/wp-content/uploads/2013/02/sample.pdf'>Click to view exported pdf graphic</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aptech.com/questions/plotsave-of-a-set-of-subplots/#answer-3095/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.aptech.com @ 2013-02-09 01:21:35 --