<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3AZoomstat</id>
	<title>TI-BASIC:Zoomstat - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3AZoomstat"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Zoomstat&amp;action=history"/>
	<updated>2026-04-18T16:46:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Zoomstat&amp;diff=527&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Zoomstat&amp;diff=527&amp;oldid=prev"/>
		<updated>2016-02-24T18:05:48Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:TI-BASIC:Command&lt;br /&gt;
|picture=http://tibasicdev.wikidot.com/local--files/zoomstat/zoomstat.gif width=&amp;quot;200&amp;quot;&lt;br /&gt;
|summary=Zooms to a graphing window which works for all currently selected [http://tibasicdev.wikidot.com/plotn plots].&lt;br /&gt;
|syntax=ZoomStat&lt;br /&gt;
|location=Press:&lt;br /&gt;
# ZOOM to access the zoom menu.&lt;br /&gt;
# 9 to select ZoomStat, or use arrows and ENTER.&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=1 byte&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The ZoomStat command command zooms to a graphing window that accurately represents all the currently defined stat plots (see the [[TI-BASIC:Plotn|PlotN(]] commands). You can think of it as [[TI-BASIC:Zoomfit|ZoomFit]], but for plots rather than equations.&lt;br /&gt;
&lt;br /&gt;
The specific function of the command is as follows: first, the minimum and maximum X and Y coordinates that stat plots will be using are calculated. Xmin, Xmax, Ymin, and Ymax are calculated to fit all these coordinates plus a padding on either side. The padding is 10% of the unpadded range on the left and right (for Xmin and Xmax), and 17% of the unpadded range on the top and bottom (for Ymin and Ymax).&lt;br /&gt;
&lt;br /&gt;
Of course, the exact function varies slightly with the type of plot defined. For example, Ymin and Ymax will not be affected by [[TI-BASIC:Plotn#boxplot|Boxplot]] and [[TI-BASIC:Plotn#modboxplot|Modboxplot]] plots, since they ignore Y-coordinates when graphing. Also, [[TI-BASIC:Plotn#histogram|Histogram]] fitting is a bit trickier than others. Xscl and Yscl also are changed for histograms, though not for the other plots.&lt;br /&gt;
&lt;br /&gt;
For all plots except Histogram, ZoomStat will create a window with Xmin=Xmax (or Ymin=Ymax) if the X range (or Y range) of the data is 0. This will throw an [[TI-BASIC:Errors#windowrange|ERR:WINDOW RANGE]]. If a Histogram causes this error, though, [[TI-BASIC:Errors#stat|ERR:STAT]] is thrown, and &amp;#039;&amp;#039;then&amp;#039;&amp;#039; when you access the graphscreen [[TI-BASIC:Errors#windowrange|ERR:WINDOW RANGE]] will occur.&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#invalid|ERR:INVALID]]&amp;#039;&amp;#039;&amp;#039; is thrown if this command is using outside a program (although the menu option, of course, is fine).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#stat|ERR:STAT]]&amp;#039;&amp;#039;&amp;#039; is thrown when trying to ZoomFit to a Histogram with only one distinct number in the data list.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#windowrange|ERR:WINDOW RANGE]]&amp;#039;&amp;#039;&amp;#039; is thrown when the window ends up being empty.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Zoomfit|ZoomFit]]&lt;br /&gt;
* [[TI-BASIC:Zbox|ZBox]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>