| GR_FLAGS | Type (Structure)

AMS 2.00 or higher | graphing.h

typedef struct {

| int gr_in_progress: 1;

| int gr_zoom_fit: 1;

| int gr_cpt_seq_flag: 1;

| int stat_in_progress: 1;

| int gr_trace_seq: 1;

| int de_init_conds: 1;

| int gr_cpt_de_flag: 1;

| int new_eqn: 1;

| int de_error: 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_progress | A 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_fit | ZoomFit 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_flag | A graph sequence mode function (u1 - u99) is being executed.
stat_in_progress | A 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_seq | A sequence function is being traced.
de_init_conds | A differential equation is being plotted with initial conditions selected interactively using the graph cursor.
gr_cpt_de_flag | A differential equation graphing mode function (y1' - y99') is being executed.
new_eqn | The Numeric Solver system variable eqn has changed. This alerts the solver graph to regraph.
de_error | An error has occurred while computing a differential equation graphing mode function.

See also: gr_flags