|
We're glad you came by, but you might find what you're looking for elsewhere. TI-Basic Developer is not the site it once was. While its information on commands and other calculator features remains almost second-to-none, its forum, archives, and even hosting service, Wikidot, have been decaying for years. The calculator community would love to see what you're working on, or help you in your next coding adventure, but TI-Basic Developer is no longer the place to do it. Instead, you should head over to Cemetech (primarily American) or TI-Planet (primarily international). Both are active, well-established forums with their own archives, chatrooms, reference material, and abundant coding tools and resources. We'll see you there, we hope. |
Displays the graph screen.
DispGraph
While editing a program, press:
- PRGM to access the program menu.
- RIGHT to access the I/O submenu.
- 4 to select DispGraph, or use arrows and ENTER.
TI-83/84/+/SE
1 byte
The DispGraph command displays the graph screen, along with everything drawn or graphed on it.
In many cases, this doesn'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'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:
:"sin(X)"→Y1
:DispGraphAdvanced Uses
DispGraph can also be used to update the graph screen, even if it's already being displayed. For example, changing the value of a plot or equation variable doesn't update the graph immediately. Consider this program:
:0→I
:"Isin(X)"→Y1
:DispGraph
:For(I,1,10)
:EndAt first, it graphs the equation Y=Isin(X) with I=0. After this, I is cycled from 1 to 10. However, though the parameter I changes, the graph screen isn't updated, and only the initial graph of Y=0sin(X) and final graph of Y=10sin(X) are displayed. If, on the other hand, we change the program:
:0→I
:"Isin(X)"→Y1
:DispGraph
:For(I,1,10)
:DispGraph
:EndNow the DispGraph inside the loop ensures that the graph screen is updated every time, and the program will correctly display all eleven graphs.
Error Conditions
- ERR:INVALID occurs if this statement is used outside a program.
Related Commands
.