<?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%3ADispgraph</id>
	<title>TI-BASIC:Dispgraph - 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%3ADispgraph"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Dispgraph&amp;action=history"/>
	<updated>2026-05-15T18:41:26Z</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:Dispgraph&amp;diff=956&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:Dispgraph&amp;diff=956&amp;oldid=prev"/>
		<updated>2016-02-24T18:27:13Z</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=DISPGRAPH.GIF&lt;br /&gt;
|summary=Displays the graph screen.&lt;br /&gt;
|syntax=DispGraph&lt;br /&gt;
|location=While editing a program, press:&lt;br /&gt;
# PRGM to access the program menu.&lt;br /&gt;
# RIGHT to access the I/O submenu.&lt;br /&gt;
# 4 to select DispGraph, 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 DispGraph command displays the graph screen, along with everything drawn or graphed on it.&lt;br /&gt;
&lt;br /&gt;
In many cases, this doesn&amp;#039;t need to be done explicitly: commands from the 2nd DRAW menu, as well as many other graph screen commands, will display the graph screen automatically when they are used. Mainly, it&amp;#039;s used for displaying the graphs of equations or plots in a program -- you would define the variable in question, then use DispGraph to graph it. For example:&lt;br /&gt;
&lt;br /&gt;
 :&amp;quot;sin(X)&amp;quot;→Y1&lt;br /&gt;
 :DispGraph&lt;br /&gt;
&lt;br /&gt;
= Advanced Uses =&lt;br /&gt;
&lt;br /&gt;
DispGraph can also be used to update the graph screen, even if it&amp;#039;s already being displayed. For example, changing the value of a plot or equation variable doesn&amp;#039;t update the graph immediately. Consider this program:&lt;br /&gt;
&lt;br /&gt;
 :0→I&lt;br /&gt;
 :&amp;quot;Isin(X)&amp;quot;→Y1&lt;br /&gt;
 :DispGraph&lt;br /&gt;
 :For(I,1,10)&lt;br /&gt;
 :End&lt;br /&gt;
&lt;br /&gt;
At first, it graphs the equation Y=Isin(X) with I=0. Since after that, I is cycled from 1 to 10, and we are on the graph screen, it would be reasonable if this made the program display the graphs of Y=1sin(X) through Y=10sin(X). Unfortunately, this isn&amp;#039;t the case: though the parameter I changes, the graph screen isn&amp;#039;t updated. If, on the other hand, we change the program:&lt;br /&gt;
&lt;br /&gt;
 :0→I&lt;br /&gt;
 :&amp;quot;Isin(X)&amp;quot;→Y1&lt;br /&gt;
 :DispGraph&lt;br /&gt;
 :For(I,1,10)&lt;br /&gt;
 :DispGraph&lt;br /&gt;
 :End&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the DispGraph inside the loop ensures that the graph screen is updated every time, and the program will correctly display all eleven graphs.&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; occurs if this statement is used outside a program.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Disp|Disp]]&lt;br /&gt;
* [[TI-BASIC:Disptable|DispTable]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>