REPLOT
Use the CLEAR\NOREPLOT command to clear all graphics without emptying the
replot buffers.
Use the ERASEWINDOW command to erase the graphics from a window. This
only applies to the monitor screen, as well as to bitmap and PostScript
graphics hardcopy.
Use the CLEAR\REPLOTONLY command to clear the replot buffers without
clearing the graphics.
Syntax: REPLOT\ALLWINDOWS
Use the REPLOT\ALLWINDOWS command to replot all windows that have some
data stored in the replot buffers.
When the \NOAXES qualifier is used, the data will be replotted but the
graph axes will not be drawn.
For each data set, the window number in which it was drawn is saved, along
with the plotting symbols, including their types, colours, connectivity,
angles, and sizes are saved for replotting. Also saved are: error bar
types, line thicknesses, line types, colours, and histogram types.
By default, text that was drawn with the TEXT command will also be
replotted. If the \-TEXT qualifier is used, any such text strings will
not be replotted. They will still be kept in storage, however, so the
user may later enter REPLOT and the text strings will appear.
If the \GRAPH qualifier is used with the TEXT command, the location of
the replotted character string will remain fixed with respect to the
graph's coordinate system, and the height will be scaled accordingly.
Otherwise, the location of the replotted character string will remain
fixed with respect to the window, and the height will not be altered.
After the DISABLE REPLOT command is entered, subsequent data curves will
not be saved in the replot buffers. Use the ENABLE REPLOT command to re-
enable saving. If replotting is enabled, it can be disabled for individual
commands by use of the \NOREPLOT qualifier, for example, GRAPH\NOREPLOT.
X=[1:20] ! generate some data
WINDOW 5 ! choose graphics window
SET PCHAR -1 ! set plotting symbol
GRAPH 20*X 10*X ! plot first curve with axes
SET PCHAR -2 ! change plotting symbol
GRAPH\NOAXES X^2 (X^3)/10 ! overlay another curve on the same scale
CLEAR\NOREPLOT ! clear graphics but not replot buffers
REPLOT ! plot all data on common scale
WINDOW 5 ! choose window
GRAPH X1 Y1 ! plot data+axes
WINDOW 7 ! choose window
GRAPH X2 Y2 ! plot data + axes
GRAPH\NOAXES X3 Y3 ! overlay a curve
CLEAR\NOREPLOT ! clear graphics but not replot buffers
REPLOT\ALL ! replot all windows