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_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