gr_active Variable (ROM Call 0x10B)

graphing.h

GR_WIN_VARS *gr_active;

Pointer to the active GR_WIN_VARS struct.

gr_active is a pointer to a GR_WIN_VARS struct that contain most of the data used by the Graph application and other graph-related apps. gr_active points to the GR_WIN_VARS struct containing all the information for the active graph (whereas gr_other points to the information for the second graph in two-graph mode). As the calculator user switches between the two windows in two-graph mode, the pointers in gr_active and gr_other are swapped so that gr_active is always referring to the active graph. The members of a GR_WIN_VARS struct are given along with an explanation of the contents of each in the description of GR_WIN_VARS. None of the data should be changed directly by a program, but can be accessed for use. System routines may be called to change many items (for example, VarStore may be used to change the graph system variables), but some data is for internal use only and should only be changed by the appropriate system app.


Used by: gdb_len, gdb_recall, gdb_store, cmd_andpic, cmd_blddata, cmd_circle, cmd_clrdraw, cmd_clrgraph, cmd_clrtable, cmd_cyclepic, cmd_disptbl, cmd_drawfunc, cmd_drawinv, cmd_drawparm, cmd_drawpol, cmd_fnoff, cmd_fnon, cmd_line, cmd_linehorz, cmd_linetan, cmd_linevert, cmd_newplot, cmd_plotsoff, cmd_plotson, cmd_ptchg, cmd_ptoff, cmd_pton, cmd_pttext, cmd_pxlchg, cmd_pxlcircle, cmd_pxlhorz, cmd_pxlline, cmd_pxloff, cmd_pxlon, cmd_pxltext, cmd_pxlvert, cmd_rclpic, cmd_rplcpic, cmd_shade, cmd_slpline, cmd_stopic, cmd_style, cmd_table, cmd_xorpic, push_pttest, push_pxltest, push_setgraph, EV_defaultHandler, MO_currentOptions, GD_Circle, GD_Contour, GD_Eraser, GD_HVLine, GD_Line, GD_Pen, GD_Select, GD_Text, GR3_paint3d, GR3_xyToWindow, GZ_Box, GZ_Center, HomePushEStack, OSLinkCmd, ROM Call 0x455, ROM Call 0x4CA, CheckGraphRef, de_initRes, de_loop, de_rng_no_graph, dv_create_graph_titles, EQU_deStatus, EQU_select, FindFunc, FindGrFunc, FirstSeqPlot, FuncLineFlt, GetStatValue, GetSysGraphRef, GM_Derivative, GM_DistArc, GM_Inflection, GM_Integrate, GM_Intersect, GM_Math1, GM_Shade, GM_TanLine, GM_Value, gr_add_fldpic, gr_ck_solvergraph, gr_CptIndepInc, gr_de_value, gr_del_locals, gr_del_vars_in_folder, gr_DispLabels, gr_execute_de, gr_execute_seq, gr_find_de_result, GR_Pan, gr_seq_value, gr_stopic, gr_xres_pixel, GR3_addContours, GR3_handleEvent, GraphActivate, GraphOrTableCmd, grFuncName, GrLineFlt, GS_PlotAll, GS_PlotTrace, GT_BackupToScr, GT_CalcDepVals, GT_CenterGraphCursor, GT_CursorKey, GT_DE_Init_Conds, GT_DspFreeTraceCoords, GT_DspMsg, GT_DspTraceCoords, GT_Format, GT_FreeTrace, GT_IncXY, GT_KeyIn, GT_Open, GT_QFloatCursorsInRange, GT_Regraph, GT_Regraph_if_neccy, GT_SaveAs, GT_SelFunc, GT_Set_Graph_Format, GT_SetCursorXY, GT_SetGraphRange, GT_ShowMarkers, GT_Trace, GT_ValidGraphRanges, GT_WinBound, GT_WinCursor, GZ_Decimal, GZ_Fit, GZ_InOut, GZ_Integer, GZ_Previous, GZ_Recall, GZ_Square, GZ_Standard, GZ_Stat, GZ_Store, GZ_Trig, InitDEAxesRng, InitDEMem, InitTimeSeq, NG_setup_graph_fun, PlotDel, PlotPut, QActivePlots, QPlotActive, Regraph, seqStepCk, seqWebInit, SetGraphMode, setup_more_graph_fun, spike_chk_gr_dirty, spike_in_editor, statFree, time_loop, VarGraphRefBitsClear, YCvtFtoP, YCvtFtoWin, FolderCur, VarRecall, VarStore


See also: GR_WIN_VARS, gr_other