Redraws the plot or sets the redraw mode
chips> REDRAW
chips> REDRAW ON
chips> REDRAW OFF
When ChIPS is started the redraw mode is set to
"on". This means that any command that changes the plot display
- such as adding or deleting a curve or changing the plot title -
will have an immediate effect.
There are times when this behaviour is undesireable - such
as plots of large datasets or when creating a plot from
a script - and so it can be turned off by calling
BATCH OFF.
It can be restored by BATCH ON.
After the redraw mode is turned off, ChIPS commands will appear
to have no affect on the current plot.
The REDRAW command on its own will force the plot
to be displayed with the current contents, or the ChIPS
PRINT command can be used to create a postscript version
of the current plot.
The default behaviour for Sherpa is to
turn automatic redrawing off. This includes loading
the Sherpa module into a S-Lang
script.
chips> CURVE data/example.dat
chips> REDRAW OFF
chips> SYMBOL UPTRI
chips> SYMBOL BLUE
chips> SYMBOL SIZE 5.0
chips> REDRAW
After the curve is plotted, automatic redrawing is turned off.
Therefore, the effect of commands that follow are not displayed until
the REDRAW command refreshes the plot.
chips> REDRAW ON
chips> SIMPLELINE
Building on the previous example, automatic redrawing is
restored. When the SIMPLELINE
command is issued, the plot is redrawn with the new
curve linestyle.
- chips
-
batch,
browse,
clear,
delete,
exit,
info,
list,
pickpoints,
redo,
type,
undo,
verbose
|