push_setgraph Function (ROM Call 0x322)

AMS 1.01 or higher basfunc.h

void push_setgraph (CESI ModeNameString, CESI SettingString);

Executes TI-Basic 'setGraph' function.

push_setgraph assumes that ModeNameString points to the tag of a string expression (usually STR_TAG). It sets the appropriate Graph mode to the new string pointed to by SettingString (it should also point to the string tag), and pushes the previous setting string of that mode to the expression stack. Possible mode strings and settings strings are listed in the table below:

Mode namePossible settings
"Coordinates""RECT", "POLAR", "OFF"
"Graph Order""SEQ", "SIMUL" (not available in SEQUENCE, 3D or DIFF EQUATIONS graph mode)
"Grid""OFF", "ON" (not available in 3D graph mode)
"Axes""OFF", "ON" (not 3D graph mode)
"OFF", "AXES", "BOX" (3D graph mode)
"Leading Cursor""OFF", "ON" (not available in 3D graph mode)
"Labels""OFF", "ON"
"Style""WIRE FRAME", "HIDDEN SURFACE", "CONTOUR LEVELS", "WIRE AND CONTOUR", "IMPLICIT PLOT" (applies only to 3D graph mode)
"Seq Axes""TIME", "WEB", "U1-VS-U2" (applies only to SEQUENCE graph mode)
"DE Axes""TIME", "T-VS-Y'", "Y-VS-Y'", "Y1-VS-Y2", "Y1-VS-Y2'", "Y1'-VS-Y2'" (applies only to DIFF EQUATIONS graph mode)
"Solution Method""RK", "EULER" (applies only to DIFF EQUATIONS graph mode)
"Fields""SLPFLD", "DIRFLD", "FLDOFF" (applies only to DIFF EQUATIONS graph mode)


Uses: gr_active