<?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 "How can I control the axis scale on my graphs in GAUSS 12?"</title>
	<atom:link href="http://www.aptech.com/questions/how-can-i-control-the-axis-scale-on-my-graphs-in-gauss-12/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: jjones</title>
		<link>http://www.aptech.com/questions/how-can-i-control-the-axis-scale-on-my-graphs-in-gauss-12/#answer-1219</link>
		<comments>http://www.aptech.com/questions/how-can-i-control-the-axis-scale-on-my-graphs-in-gauss-12/#answer-1219#comments</comments>
		<pubDate>Thu, 30 Aug 2012 10:22:51 +0000</pubDate>
		<dc:creator>jjones</dc:creator>
		
		<guid isPermaLink="false">http://www.aptech.com/questions/how-can-i-control-the-axis-scale-on-my-graphs-in-gauss-12/#answer-1219</guid>
		<description><![CDATA[At the bottom of this post is GAUSS procedure that will control the extent of the x and y axes on your plots with the graphics for version 12 and beyond. You can either pass in two 2&#215;1 vectors with &#8230; <a href="http://www.aptech.com/questions/how-can-i-control-the-axis-scale-on-my-graphs-in-gauss-12/#answer-1219">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>At the bottom of this post is GAUSS procedure that will control the extent of the x and y axes on your plots with the graphics for version 12 and beyond. You can either pass in two 2&#215;1 vectors with the minimum and maximum value for the respective axes or you can pass in a vector of any length and it will scale the plot to include the smallest and largest elements of that vector. It should be called immediately after the graph is drawn. Here is a simple usage example:</p>
<pre>x = seqa(1, 1, 10);
y = cos(x);
xrange = { -3, 12 };
yRange = { -2, 2 };
plotXY(x, y);
scalePlot(xRange, yRange);</pre>
<p>&nbsp;</p>
<pre>proc(0) = scaleplot1(x,y);
 struct plotControl MyPlot;
 MyPlot = plotGetDefaults("xy");

 <span style="color: #008000;">//Turn off legend for this line</span>
 plotSetLegend(&amp;MyPlot,"off");

 <span style="color: #008000;">//SetLineStyle to 0 so the line does not appear</span>
 plotSetLineStyle(&amp;MyPlot,0);

 <span style="color: #008000;">//Draw an invisible line from smallest x and smallest y to</span>
<span style="color: #008000;"> // the largest x and largest y.</span>
 plotAddXY(MyPlot,minc(x)|maxc(x),minc(y)|maxc(y));

 <span style="color: #008000;">//Reset SetLineStyle to show line</span>
 plotSetLineStyle(&amp;MyPlot,1);
endp;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.aptech.com/questions/how-can-i-control-the-axis-scale-on-my-graphs-in-gauss-12/#answer-1219/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:41:26 --