The <graphing.h> Header File

Routines, variables and structures related to graphing in general.

Functions

CkValidDelta
Checks the validity of a given delta.
CptDeltax
Computes the system variable Δx.
CptDeltay
Computes the system variable Δy.
gdb_len
Returns the length of the GDB in the current graph mode.
gdb_recall
Actual core of cmd_rclgdb.
gdb_store
Actual core of cmd_stogdb.
rngLen
Returns the size of the array pointed to by GR_WIN_VARS.rngp if the current graphing mode if GraphMode.
StepCk
Verifies that the input min, max, and step values are valid in parametric or polar mode.

Global Variables

gr_active
Pointer to the active GR_WIN_VARS struct.
gr_flags
Global flags used by the Graph application.
gr_other
Pointer to the second GR_WIN_VARS struct.

Predefined Types

Attrs
An enumeration for describing legal attribute values.
DB3
Structure for defining a 3D function spin database.
EQU_DS_AMS1
Structure for defining internal Y = Editor app data (AMS 1.xx version).
EQU_DS
Structure for defining internal Y = Editor app data.
ESI
Represents an index of a value on the TIOS expression stack.
FUNCID
Function identifier structure.
GR_FLAGS
A structure for defining global flags used by the Graph application.
GR_MODES
Structure for describing graph modes.
GR_WIN_VARS
Structure defining data for the graph related apps.
GraphModes
Describes different graphing modes.
GrFmtFlags2
Enumerates different Graph Format flags for the GR_MODES struct.
GrFmtFlags
Enumerates different Graph Format flags for the GR_MODES struct.
GrMode3dStyles
Enumerates different 3D Graph Style flags for the GR_MODES struct.
GrSides
Enumerates different Graph side flags for the GR_WIN_VARS struct.
GrWinFlags
Enumerates different Graph app flags for the GR_WIN_VARS struct.
HSym
A structure representing a symbol reference.
TABLE_WIN_VARS
Structure for defining Table app data.
TableFlags
Enumerates different Table app flags for the GR_WIN_VARS struct.
WINDOW_AMS1
The main window-describing structure (AMS 1.xx version).
WINDOW
The main window-describing structure.
WinVarEnum
Describes different Window variables.

Note: This header is currently very incomplete.


CkValidDelta

unsigned char CkValidDelta (float maxrng, float minrng, float delta);

Checks the validity of a given delta.

CkValidDelta checks to see if the exponent of delta is too small relative to the exponents of maxrng and minrng so that all the significant digits of delta would be shifted out of the floating-point mantissa when performing arithmetic.

The parameter maxrng is the final value in the graph window variable sequence (e.g., xmax, ymax, tmax, etc.). The parameter minrng is the first value in the graph window variable sequence (e.g., xmin, ymin, tmin, etc.). The parameter delta is the increment value which will be used to compute the sequence from minrng to maxrng (e.g., Δx, Δy, tstep, etc.).

CkValidDelta returns 1 if delta is valid, 0 if the exponent of delta is too small.

Note: CkValidDelta assumes the sign of delta has already been verified as correct for computing a sequence from minrng to maxrng. It is valid for maxrng to be less than minrng if delta is negative.

See also: StepCk


CptDeltax

unsigned char CptDeltax (GR_WIN_VARS *);

Computes the system variable Δx.

Given a pointer to a GR_WIN_VARS structure (usually gr_active or gr_other), CptDeltax computes the system variable Δx.

This function calls ck_valid_float and CkValidDelta, among others.


CptDeltay

unsigned char CptDeltay (GR_WIN_VARS *);

Computes the system variable Δy.

Given a pointer to a GR_WIN_VARS structure (usually gr_active or gr_other), CptDeltay computes the system variable Δy.

This function calls ck_valid_float and CkValidDelta, among others.


gdb_len

unsigned long gdb_len (void);

Returns the length of the GDB in the current graph mode.

Used internally by cmd_stogdb, there's no point in using gdb_len directly.


gdb_recall

void gdb_recall (HSym var);

Actual core of cmd_rclgdb.

This is the routine which retrieves the current GDB from the variable described by var.
This routine is wrapped by cmd_rclgdb, which is basically a combination of VarRecall and gdb_recall, so there's no point in using gdb_recall directly.


gdb_store

void gdb_store (ESI dest);

Actual core of cmd_stogdb.

This is the routine which stores the current GDB at the memory location starting at dest.
This routine is wrapped by cmd_stogdb, so there's no point in using gdb_store directly.


rngLen

unsigned long rngLen (unsigned char GraphMode);

Returns the size of the array pointed to by GR_WIN_VARS.rngp if the current graphing mode if GraphMode.

This function is used by many ROM_CALLs related to graphing, through gdb_len, gdb_recall and gdb_store.

Valid values for GraphMode are described in GraphModes.

See also: GR_WIN_VARS, GraphModes


StepCk

void StepCk (float *indep);

Verifies that the input min, max, and step values are valid in parametric or polar mode.

StepCk verifies that the input min, max, and step values in the array pointed to by indep are valid values for the independent variable in parametric mode (tmin, tmax, and tstep) or polar mode (θmin, θmax, and θstep). The function will return to the calling routine if the values are valid, otherwise an error is thrown.

indep is a pointer to an array of floating-point values where indep[0] = min, indep[1] = max, and indep[2] = step.

An error is thrown if the input values are not valid for the independent variable in parametric mode or polar mode, such as the step value being negative when it should have been positive for the given min and max.

See also: CkValidDelta, error.h


gr_active

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.

See also: GR_WIN_VARS, gr_other


gr_flags

AMS 2.00 or higher

GR_FLAGS gr_flags;

Global flags used by the Graph application.

gr_flags returns the Global flags used by the Graph application. Each flag is a separate member of the GR_FLAGS struct. The contents of these flags should not be changed by a program, but may be accessed for testing the value. The names of the flags and their purposes are given with the GR_FLAGS struct.

See also: GR_FLAGS


gr_other

GR_WIN_VARS *gr_other;

Pointer to the second GR_WIN_VARS struct.

gr_other 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_other points to the GR_WIN_VARS struct containing all the information for the second graph in two-graph mode (whereas gr_active points to the information for the active graph). As the calculator user switches between the two windows in two-graph mode, the pointers in gr_other and gr_active 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.

See also: GR_WIN_VARS, gr_active


DB3

typedef struct {
long cVertices;
HANDLE hVertices;
long cEdges;
HANDLE hEdges;
HANDLE hContours;
long ciVertices;
HANDLE hiVertices;
long ciEdges;
HANDLE hiEdges;
short DCM[3][3];
short DCM0[3][3];
short DCMhome[3][3];
short cDCMangle;
unsigned short nSpinDir;
unsigned char nSpinSpeed;
unsigned char bSpinning;
short calp, salp;
} DB3;

Structure for defining a 3D function spin database.

Structure for defining a 3D function spin database. This structure is only used in the GR_WIN_VARS structure. It is not very well known, so if you have more information, please help.

See also: GR_WIN_VARS


EQU_DS_AMS1

typedef struct SEquDS_AMS1 {
WINDOW_AMS1 wMain;
short focus;
short cFunc;
short yPos;
short xOffset;
short yBelow;
unsigned short bAltForm;
} EQU_DS_AMS1;

Structure for defining internal Y = Editor app data (AMS 1.xx version).

EQU_DS_AMS1 is the AMS 1.xx version of the EQU_DS structure. It uses the AMS 1.xx version of the WINDOW structure.

See also: EQU_DS


EQU_DS

typedef struct SEquDS {
WINDOW wMain;
short focus;
short cFunc;
short yPos;
short xOffset;
short yBelow;
unsigned short bAltForm;
} EQU_DS;

Structure for defining internal Y = Editor app data.

Structure for defining internal Y = Editor app data. This structure is not very well known for the moment, and it is open to anyone who knows more than I do.

Anyway, this structure is needed by the GR_WIN_VARS structure.

See also: GR_WIN_VARS, EQU_DS_AMS1


FUNCID

typedef struct {
unsigned char FNum;
unsigned char FNum2;
unsigned short LNum;
unsigned short PlotIndex;
unsigned char PlotDir;
} FUNCID;

Function identifier structure.

Function identifier structure. This structure is not very well known for the moment, and it is open to anyone who knows more than I do.

Anyway, this structure is needed by the GR_WIN_VARS structure.


GR_FLAGS

AMS 2.00 or higher

typedef struct {
int unused: 7;
int de_error: 1;
int new_eqn: 1;
int gr_cpt_de_flag: 1;
int de_init_conds: 1;
int gr_trace_seq: 1;
int stat_in_progress: 1;
int gr_cpt_seq_flag: 1;
int gr_zoom_fit: 1;
int gr_in_progress: 1;
} GR_FLAGS;

A structure for defining global flags used by the Graph application.

The GR_FLAGS structure is used for defining global flags used by the Graph application (this structure is pointed to by gr_flags). Each flag is a separate member of the structure (each member is in fact a boolean value). The contents of these flags should not be changed by a program, but may be accessed for testing the value.

The purposes of these flags are:
gr_in_progressA graph is currently being plotted. Among other things, this flag alerts VarRecall to set the graph reference flag for every user variable accessed until this flag is reset to enable the Smart Graph feature to work.
gr_zoom_fitZoomFit is being executed. Every graph point is computed to determine the min and max Window variable values, but while this flag is set, nothing is plotted.
gr_cpt_seq_flagA graph sequence mode function (u1 - u99) is being executed.
stat_in_progressA statistics calculation is currently being performed. Among other things, this flag alerts VarRecall to set the stat reference flag for every user variable accessed until this flag is reset to enable the calculator to determine when the statistics results are no longer valid.
gr_trace_seqA sequence function is being traced.
de_init_condsA differential equation is being plotted with initial conditions selected interactively using the graph cursor.
gr_cpt_de_flagA differential equation graphing mode function (y1' - y99') is being executed.
new_eqnThe Numeric Solver system variable eqn has changed. This alerts the solver graph to regraph.
de_errorAn error has occurred while computing a differential equation graphing mode function.

See also: gr_flags


GR_MODES

typedef struct {
unsigned short gr_fmt_flags; /* Graph Format flags */
unsigned char gr_xaxis; /* X Axis for SEQUENCE or DIFF EQUATIONS CUSTOM Axes setting */
signed char gr_yaxis; /* Y Axis for SEQUENCE or DIFF EQUATIONS CUSTOM Axes setting */
unsigned short gr_fmt_flags2; /* Graph Format flags */
unsigned char gr_3dflags; /* 3D Graph Style */
unsigned char pad; /* Unused. */
} GR_MODES;

Structure for describing graph modes.

The members of the GR_MODES struct and their contents are as follows:

Contents of the gr_fmt_flags (Graph Format flags) member as given in the GrFmtFlags enum:
GR_SEQ_TIME SEQUENCE Axes settings:

  • GR_SEQ_TIME = 1 and GR_SEQ_WEB = 0: TIME

  • GR_SEQ_TIME = 0 and GR_SEQ_WEB = 1: WEB

  • GR_SEQ_TIME = 0 and GR_SEQ_WEB = 0: CUSTOM

GR_SEQ_WEB
GR_BUILD_WEBSEQUENCE WEB Build Web:

  • GR_BUILD_WEB = 0: TRACE

  • GR_BUILD_WEB = 1: AUTO

GR_3dEXPANDSet for 3D expanded view mode.
GR_COORDOFFGraph Coordinates:

  • GR_COORDOFF = 0 and GR_COORD_POLAR = 0: RECT

  • GR_COORDOFF = 0 and GR_COORD_POLAR = 1: POLAR

  • GR_COORDOFF = 1: OFF

GR_COORD_POLAR
GR_SIMULGraph Order:

  • GR_SIMUL = 0: SEQ

  • GR_SIMUL = 1: SIMUL

GR_GRIDONGraph Grid:

  • GR_GRIDON = 0: OFF

  • GR_GRIDON = 1: ON

GR_AXESOFFGraph Axes:

  • GR_AXESOFF = 0: ON

  • GR_AXESOFF = 1: OFF

GR_AXESBOX3D Axes:

  • GR_AXESOFF = 1: OFF

  • GR_AXESOFF = 0 and GR_AXESBOX = 0: AXES

  • GR_AXESOFF = 0 and GR_AXESBOX = 1: BOX

GR_LABELSONGraph Labels:

  • GR_LABELSON = 0: OFF

  • GR_LABELSON = 1: ON

GR_LEAD_CURSORGraph Leading Cursor:

  • GR_LEAD_CURSOR = 0: OFF

  • GR_LEAD_CURSOR = 1: ON


Meaning of the gr_xaxis member, X Axis for SEQUENCE or DIFF EQUATIONS CUSTOM Axes setting:

Meaning of the gr_yaxis member, Y Axis for SEQUENCE or DIFF EQUATIONS CUSTOM Axes setting:

Contents of the gr_fmt_flags2 (Graph Format flags) member as given in the GrFmtFlags2 enum:
GR_DE_CUSTOMGR_DE_CUSTOM = 1: DIFF EQUATIONS Axes = CUSTOM
GR_DE_FIELDSDIFF EQUATIONS Fields:

  • GR_DE_FIELDS = 1: SLPFLD

  • GR_DE_FIELDS = 0 and GR_DIRFLD = 1: DIRFLD

  • GR_DE_FIELDS = 0 and GR_DIRFLD = 0: FLDOFF

GR_DIRFLD
GR_EULERDIFF EQUATIONS Solution Method:

  • GR_EULER = 0: RK

  • GR_EULER = 1: EULER


Contents of the gr_3dflags (3D Graph Style) member as given in the GrMode3dStyles enum:
GR_3D_WIRE_FRAMEWire frame
GR_3D_HIDDEN_SURFACEHidden surface
GR_3D_CONTOURContour levels
GR_3D_CONTOUR_WIREWire and contour
GR_3D_IMPLICITImplicit plot

See also: GR_WIN_VARS


GR_WIN_VARS

typedef struct {
float flt_xcursor; /* Graph system variable xc */
float flt_ycursor; /* Graph system variable yc */
float flt_zcursor; /* Graph system variable zc */
float flt_tcursor; /* Graph system variable tc */
float flt_rcursor; /* Graph system variable rc */
float flt_thetacursor; /* Graph system variable θc */
float flt_ncursor; /* Graph system variable nc */
float recip_delx; /* 1/Δx rounded to 6 significant digits */
float recip_dely; /* 1/Δy rounded to 6 significant digits */
float orgxmin; /* Original xmin, before any panning has occurred */
float orgxmax; /* Original xmax, before any panning has occurred */
float panshift; /* Number of columns panned from orgxmin */
float orgtblst; /* Original tblStart, before any scrolling has occurred */
float tblshift; /* Number of lines scrolled in table */
float tblstart; /* Table system variable tblStart */
float deltatbl; /* Table system variable Δtbl */
float *rngp; /* Pointer to current Window variables array */
float PrevRange[12]; /* Current ZoomPrev values */
float UserRange[29]; /* Current ZoomSto values */
GR_MODES *gr_modep; /* Pointer to GR_MODES struct for current graph */
WINDOW *grwinp; /* Pointer to current Graph app WINDOW struct */
WINDOW *rngwinp; /* Pointer to current Window Editor app WINDOW struct */
WINDOW *tblwinp; /* Pointer to current Table app WINDOW struct */
TABLE_WIN_VARS *tableptr; /* Pointer to internal Table app data */
union {
struct {
EQU_DS_AMS1 equedDS; /* Internal Y= Editor app data */
unsigned short curinc; /* Graph iteration counter */
unsigned short curincy; /* 3D y trace mode iteration counter */
unsigned short tblindx; /* Index of tblInput element at top of Table */
short yaxispix; /* Pixel number of y axis for panning */
unsigned short TBL_WidthLimit; /* Format width for Table app */
HANDLE zval; /* Handle of the 3D z value array */
DB3 DB3z; /* 3D function spin database */
HANDLE htbinput; /* Handle of the table system variable tblInput */
HANDLE hfldpic; /* Handle of the graph system variable fldpic */
unsigned short gr_win_flags; /* Graph app flags */
unsigned char xmaxpix; /* Rightmost column used by graph in current window */
unsigned char ymaxpix; /* Bottom row used by graph in current window */
unsigned char gr_ref_mask; /* Graph reference flag mask for current graph */
unsigned char graph_mode; /* Graph mode of current graph */
unsigned char gr_side; /* Graph window location */
unsigned char gr_folder_cnt; /* Number of functions created by the TI-BASIC Graph and Table commands */
unsigned char gr_shade_pat; /* Shade pattern */
unsigned char rng_xpix; /* Maximum x pixel number on Window Editor screen */
unsigned char rng_ypix; /* Maximum y pixel number on Window Editor screen */
unsigned char tbl_flags; /* Table app flags */
unsigned char tbl_par_flags; /* Internal Table app flags */
unsigned char gr_top_flags; /* Internal Graph app flags */
unsigned char ValidCursBits; /* Internal Graph app flags */
signed char de_twopass; /* Internal Graph app flags */
FUNCID CurFunc; /* Data for currently selected function for tracing */
unsigned char PrevZoomMode; /* Graph mode of current ZoomPrev values */
} ams1;
struct {
EQU_DS equedDS; /* Internal Y= Editor app data */
unsigned short curinc; /* Graph iteration counter */
unsigned short curincy; /* 3D y trace mode iteration counter */
unsigned short tblindx; /* Index of tblInput element at top of Table */
short yaxispix; /* Pixel number of y axis for panning */
unsigned short TBL_WidthLimit; /* Format width for Table app */
HANDLE zval; /* Handle of the 3D z value array */
DB3 DB3z; /* 3D function spin database */
HANDLE htbinput; /* Handle of the table system variable tblInput */
HANDLE hfldpic; /* Handle of the graph system variable fldpic */
unsigned short gr_win_flags; /* Graph app flags */
unsigned char xmaxpix; /* Rightmost column used by graph in current window */
unsigned char ymaxpix; /* Bottom row used by graph in current window */
unsigned char gr_ref_mask; /* Graph reference flag mask for current graph */
unsigned char graph_mode; /* Graph mode of current graph */
unsigned char gr_side; /* Graph window location */
unsigned char gr_folder_cnt; /* Number of functions created by the TI-BASIC Graph and Table commands */
unsigned char gr_shade_pat; /* Shade pattern */
unsigned char rng_xpix; /* Maximum x pixel number on Window Editor screen */
unsigned char rng_ypix; /* Maximum y pixel number on Window Editor screen */
unsigned char tbl_flags; /* Table app flags */
unsigned char tbl_par_flags; /* Internal Table app flags */
unsigned char gr_top_flags; /* Internal Graph app flags */
unsigned char ValidCursBits; /* Internal Graph app flags */
signed char de_twopass; /* Internal Graph app flags */
FUNCID CurFunc; /* Data for currently selected function for tracing */
unsigned char PrevZoomMode; /* Graph mode of current ZoomPrev values */
} ams2;
};
} GR_WIN_VARS;

Structure defining data for the graph related apps.

GR_WIN_VARS is a structure which contains most of the data used by the Graph Application and other graph-related apps.

Caution: This structure is different on AMS 1.xx and AMS 2.xx (34 bytes bigger on AMS 2.xx, see WINDOW_AMS1 for a more detailed explanation)!

There are two main GR_WIN_VARS structures in the calculator which are pointed by gr_active and gr_other. In most cases, you will not have to create a GR_WIN_VARS structure, and therefore the GR_WIN_VARS will only be useful to access data pointed to by gr_active or gr_other.

None of the data contained in the GR_WIN_VARS struct should be changed directly, but it 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.

Here is an explanation of all the special structure members:

The size of the rngp array and the meaning of the elements depend on the current graphing mode (see GraphModes and rngLen). It can point to one of the following sets of indices, as described in the WinVarEnum enum:

The parameter gr_win_flags can be a combination of the following as described in the GrWinFlags enum:
GR_REDRAWRedraw 3D graph without recomputing.
GR_DIRTYThe current graph needs to be recomputed.
TAB_DIRTYThe current table needs to be recomputed.
GR_ADD_TOAdd a function to the current graph without recomputing.
GR_OPENThe current graph window is open.
GRAPH_FOLDERThe temporary folder for functions created by the Graph and Table commands exists.
EYE_DIRTYThe eye of the 3D graph has changed.
GR_SHADE_NO_PANThe panning is not valid after shading.
FLDPIC_DIRTYThe system variable fldpic needs to be recomputed.

The parameter graph_mode can be one of the following as described in the GraphModes enum:
GR_FUNCFUNCTION mode.
GR_PARPARAMETRIC mode.
GR_POLPOLAR mode.
GR_SEQSEQUENCE mode.
GR_3D3D mode.
GR_DEDIFF EQUATIONS mode.

The parameter gr_side can be one of the following as described in the GrSides enum:
AP_SIDE_ATop or left split.
AP_SIDE_BBottom or right split.
AP_SIDE_UNKNOWNUnknown.

The parameter gr_shade_pat can be one of the following as described in the Attrs enum:
A_SHADE_VVertical shade pattern.
A_SHADE_HHorizontal shade pattern.
A_SHADE_NSNegative slope 45° shade pattern.
A_SHADE_PSPositive slope 45° shade pattern.

The parameter tbl_flags can be one of the following as described in the TableFlags enum:
TBL_CONNECT_TRCSet when Graph<->Table = ON.
TBL_INDEP_ASKSet when Independent = ASK.
TBL_NO_MODE_CHANGESet when executing the DispTbl command.


GrFmtFlags2

enum GrFmtFlags2 {
GR_DE_CUSTOM = 0x0010, GR_DE_FIELDS = 0x0004, GR_DIRFLD = 0x0002, GR_EULER = 0x0001
};

Enumerates different Graph Format flags for the GR_MODES struct.

Enumerates different Graph Format flags. The meaning of these flags is given in the description of GR_MODES.

See also: GR_MODES, GR_WIN_VARS


GrFmtFlags

enum GrFmtFlags {
GR_SEQ_TIME = 0x8000, GR_SEQ_WEB = 0x4000, GR_BUILD_WEB = 0x2000, GR_3dEXPAND = 0x0800, GR_COORDOFF = 0x0080, GR_SIMUL = 0x0040, GR_GRIDON = 0x0020, GR_AXESOFF = 0x0010,GR_AXESBOX = 0x0008, GR_LABELSON = 0x0004,GR_LEAD_CURSOR = 0x0002, GR_COORD_POLAR = 0x0001
};

Enumerates different Graph Format flags for the GR_MODES struct.

Enumerates different Graph Format flags. The meaning of these flags is given in the description of GR_MODES.

See also: GR_MODES, GR_WIN_VARS


GrMode3dStyles

enum GrMode3dStyles {GR_3D_WIRE_FRAME = 0, GR_3D_HIDDEN_SURFACE = 1, GR_3D_CONTOUR = 2, GR_3D_CONTOUR_WIRE = 3, GR_3D_IMPLICIT = 4};

Enumerates different 3D Graph Style flags for the GR_MODES struct.

Enumerates different 3D Graph Style flags. The meaning of these flags is given in the description of GR_MODES.

See also: GR_MODES, GR_WIN_VARS


GrSides

enum GrSides {AP_SIDE_A = 0, AP_SIDE_B = 1, AP_SIDE_UNKNOWN = 2};

Enumerates different Graph side flags for the GR_WIN_VARS struct.

Enumerates different Graph side flags used in the GR_WIN_VARS structure.

The meaning of these flags is given in the description of GR_WIN_VARS.

See also: GR_WIN_VARS


GrWinFlags

enum GrWinFlags {
GR_REDRAW = 0x0100, GR_DIRTY = 0x0080, TAB_DIRTY = 0x0040, GR_ADD_TO = 0x0020, GR_OPEN = 0x0010, GRAPH_FOLDER = 0x0008, EYE_DIRTY = 0x0004, GR_SHADE_NO_PAN = 0x0002, FLDPIC_DIRTY = 0x0001
} ;

Enumerates different Graph app flags for the GR_WIN_VARS struct.

Enumerates different Graph app flags used in the GR_WIN_VARS structure.

The meaning of these flags is given in the description of GR_WIN_VARS.

See also: GR_WIN_VARS


TABLE_WIN_VARS

typedef struct {
short last_col;
short last_row;
unsigned short table_xpix;
unsigned short table_ypix;
unsigned char curtblinc;
unsigned char curtblincy;
unsigned char col_first;
unsigned char col_last;
short row_first;
short row_last;
unsigned char tbfn[10];
unsigned char gr_xpix;
float orgtblmax;
} TABLE_WIN_VARS;

Structure for defining Table app data.

TABLE_WIN_VARS Structure is used to define Table app data. It is only used in the GR_WIN_VARS structure and is not very well known for the moment. If you have any information about this structure, please help.

See also: GR_WIN_VARS


TableFlags

enum TableFlags {TBL_CONNECT_TRC = 0x80, TBL_INDEP_ASK = 0x40, TBL_NO_MODE_CHANGE = 0x20};

Enumerates different Table app flags for the GR_WIN_VARS struct.

Enumerates different Table app flags used in the GR_WIN_VARS structure.

The meaning of these flags is given in the description of GR_WIN_VARS.

See also: GR_WIN_VARS


WinVarEnum

enum WinVarEnum {GR_XMIN = 0, GR_XMAX = 1, GR_XSCL = 2, GR_YMIN = 3, R_YMAX = 4, GR_YSCL = 5, GR_DELTAX = 6, GR_DELTAY = 7, GR_XRES = 8, GR_TMIN = 8, GR_T0 = 8, GR_TMAX = 9, GR_TSTEP = 10, GR_TPLOT = 11, GR_DIFTOL = 12, GR_ESTEP = 13, GR_FLDRES = 14, GR_NCURVES = 15, GR_DTIME = 16, GR_THETMIN = 8, GR_THETMAX = 9, GR_THETSTEP = 10, GR_XGRID = 2, GR_YGRID = 5, GR_ZMIN = 8, GR_ZMAX = 9, GR_ZSCL = 10, GR_EYE_THETA = 11, GR_EYE_PHI = 12, GR_EYE_PSI = 13, GR_NCONTOUR = 14, GR_XSCALE = 15, GR_YSCALE = 16, GR_ZSCALE = 17, GR_NMIN = 8, GR_NMAX = 9, GR_NPLOT = 10, GR_NSTEP = 11};

Describes different Window variables.

WinVarEnum describes different Window variables. They are mainly used in the GR_WIN_VARS structure.

The meaning of the flags is explained in the description of GR_WIN_VARS.

See also: GR_WIN_VARS


Return to the main index