594
Appendix A: System Routines — Graphing
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
EQU_setStyle
Declaration:
void
EQU_setStyle
(GR_WIN_VARS *
g
, SSHORT
cFunc
, USHORT
style
,
BOOL
bSelect
, BOOL
bError
)
Category(ies):
Graphing
Description:
Set style of graph function.
Inputs:
g
— Pointer to graph data segment, either
gr_active
or
gr_other
.
cFunc
— Function number (1 . . . 99).
style
— A value indicating which style to set (FA_LINE, FA_DOT,
FA_THICK, FA_ANIMATE, FA_PATH, FA_ABOVE,
FA_BELOW, FA_SQUARE).
bSelect
— TRUE means select function for graphing, otherwise leave
function graphing selection as is.
bError
— TRUE means throw an error if function does not exist.
Outputs:
None
Assumptions: EQU_setStyle
does not check for unsuitable graph mode/style
combinations. It is your responsibility to make sure you do not set an
invalid graph style for the current graph mode. Here are graph mode/style
combinations you should avoid.
•
In Parametric, Polar, and Diff Equation modes, you cannot use styles
FA_ABOVE and FA_BELOW.
•
In Sequence mode, you cannot use styles FA_ANIMATE, FA_PATH,
FA_ABOVE, and FA_BELOW.
•
3D graph mode accepts no style settings.
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: EQU_select
Example:
/* Set style of function 1 (this is y1 in function graph mode) to shade above
and select it to graph. Do not throw an error if y1 does not exist.
*/
EQU_setStyle(gr_active, 1, FA_ABOVE, TRUE, FALSE);