190
Chapter 17: Graphing
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
xmin
↓
∆
x
ymax
→
row 0
column 0
row 0
column 1
←
ymax +
∆
y/2
row 1
column 1
←
ymax -
∆
y/2
↑↑↑
xmin -
∆
x/2 xmin +
∆
x/2
xmin + 3
†
∆
x/2
row 1
column 0
ymax - 3
†
∆
y/2
←
∆
y
xmin
↓
∆
x
ymax
→
row 0
column 0
row 0
column 1
←
ymax +
∆
y/2
row 1
column 1
←
ymax -
∆
y/2
↑↑↑
xmin -
∆
x/2 xmin +
∆
x/2
xmin + 3
†
∆
x/2
row 1
column 0
ymax - 3
†
∆
y/2
←
∆
y
Figure 17.1: Upper Left Corner of Graph Screen
The graphing application has a backup screen associated with it. This enables
the Smart Graph feature to work. As functions are graphed, the pixels are set in
both the backup screen and on the display. If none of the formats, variables, or
functions used during graphing have changed since the last time the graph was
displayed, the backup screen can immediately be shown instead of regraphing all
the functions. A few things are only drawn to the display, not the backup screen,
such as axis labels which must be redrawn every time the graph is displayed,
and cursor coordinates which are constantly changing as the cursor moves.
17.2. Working with the Graph Application
If an app or ASM will be interacting with the Graph application, it is probably a
good idea to make sure the calculator is in one graph mode, by either setting
MO_OPT_SPLIT_SCREEN = D_MODE_SPLIT_FULL or
MO_OPT_NUMBER_OF_GRAPHS = D_MODE_GRAPHS_1 (see section
8.1. Mode Settings
), or an error can be displayed if the calculator is not in the
correct mode when the app or ASM starts. In the default mode with one graph,
any reference to mode settings, format settings, Window variables and editor, Y=
functions and editor, Table, stat plots, or graph databases refers to the same
graph. In split screen mode, the applications in both windows refer to the same
graph, enabling you to see a graph and table, for example, generated from the
same data. If the user changes to two graph mode after an application is open, a
CM_MODE_CHANGE event message will be received by the app, allowing it to
take any desired action.