Enables or Disables a Window from drawing a graph.
PLOTMODE(win, mode, plotnow)
win |
- |
Optional. Window Reference. Defaults to the current Window. |
||||||
mode |
- |
An integer, the plotting mode:
|
||||||
plotnow |
- |
Optional. An integer, the force replot flag if
|
An integer, 1 if plotting is enabled, else 0.
The PLOTMODE function can be useful in a vertical bar construction to suppress plotting of the intermediate steps in the command string. For example, if Window 1 contained a test series :
W2: plotmode(0)|W1*W1|setdeltax(.01)|expandh(2)|plotmode(1)
displays only the squared and expanded series.
However, PLOTMODE is generally not required. For example, the above expression can be written as:
W2: W1*W1;setdeltax(.01);expandh(2)
In this case, intermediate plots are automatically suppressed between each semicolon delimited expression until the entire statement has been evaluated. Separating multiple statements by semicolons is preferred.
POFF (a macro) is equivalent to plotmode(0) and disables plotting.
PON (a macro) is equivalent to plotmode(1) and enables plotting and forces an immediate re-plot.
For plotmode(1, 1), the plotting region is immediately redrawn. The axes scales and tics are not effected.
For plotmode(1, 2), the entire Window is immediately redrawn causing the axes scales to resize and redraw.