| GR_MODES | Type (Structure)

graphing.h, unknown.h

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_WEB | SEQUENCE WEB Build Web: GR_BUILD_WEB = 0: TRACE GR_BUILD_WEB = 1: AUTO
GR_3dEXPAND | Set for 3D expanded view mode.
GR_COORDOFF | Graph 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_SIMUL | Graph Order: GR_SIMUL = 0: SEQ GR_SIMUL = 1: SIMUL
GR_GRIDON | Graph Grid: GR_GRIDON = 0: OFF GR_GRIDON = 1: ON
GR_AXESOFF | Graph Axes: GR_AXESOFF = 0: ON GR_AXESOFF = 1: OFF
GR_AXESBOX | 3D Axes: GR_AXESOFF = 1: OFF GR_AXESOFF = 0 and GR_AXESBOX = 0: AXES GR_AXESOFF = 0 and GR_AXESBOX = 1: BOX
GR_LABELSON | Graph Labels: GR_LABELSON = 0: OFF GR_LABELSON = 1: ON
GR_LEAD_CURSOR | Graph 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:

- SEQUENCE X Axis:

  gr_xaxis value: | meaning:
  -1 | n
  0 | u
  1,2,...,99 | u1,u2,...,u99

- DIFF EQUATIONS X Axis:

  gr_xaxis value: | meaning:
  -100 | y'
  -1,-2,...,-99 | y1',y2',...,y99'
  0 | t
  1,2,...,99 | y1,y2,...,y99
  100 | y

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

- SEQUENCE Y Axis:

  gr_yaxis value: | meaning:
  -1 | n
  0 | u
  1,2,...,99 | u1,u2,...,u99

- DIFF EQUATIONS Y Axis:

  gr_yaxis value: | meaning:
  -100 | y'
  -1,-2,...,-99 | y1',y2',...,y99'
  0 | t
  1,2,...,99 | y1,y2,...,y99
  100 | y

Contents of the gr_fmt_flags2 (Graph Format flags) member as given in the GrFmtFlags2 enum:

GR_DE_CUSTOM | GR_DE_CUSTOM = 1: DIFF EQUATIONS Axes = CUSTOM
GR_DE_FIELDS | DIFF 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_EULER | DIFF 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_FRAME | Wire frame
GR_3D_HIDDEN_SURFACE | Hidden surface
GR_3D_CONTOUR | Contour levels
GR_3D_CONTOUR_WIRE | Wire and contour
GR_3D_IMPLICIT | Implicit plot

See also: GR_WIN_VARS