Read a plot previously created with the SAVE PLOT command
and draw it in a window distinct from the current graphics
REPEAT PLOT <file>
where <file> is the name of a file containing a previously
This syntax redraws the previously saved graph in <file>
If the file name is omitted, then the most current saved
plot is drawn.
REPEAT PLOT <n>
where <n> is a numerical counter from the current list
of saved graphs.
If <n> is 0, then the most recently saved graph is drawn.
If <n> is a positive integer, then the "nth" plot in the
current list of saved graphs is drawn. If <n> is a
negative integer, then the nth most recently saved plot is
redrawn That is, the currently saved graph is 0, the graph saved
prior to the current graph is -1, and so on.
READ FILE.DAT Y1 Y2 Y3
SAVE PLOT HIST.1
SAVE PLOT HIST.2
SAVE PLOT HIST.3
REPEAT PLOT HIST.2
REPEAT PLOT HIST.1
REPEAT GRAPH, RP, and RG are all synonyms for REPEAT PLOT.
The REPEAT PLOT can redraw plots saved in a previous
Dataplot session. However, saved graphs from a previous
session are not part of the "current list" unless they
are explicitly recalled with the REPEAT PLOT command.
The saved plots are essentially screen dumps. There is
currently no "linking" in the sense that if a given variable
is changed the saved plots are automatically updated.
As a technical note for the X11 implementation, the plots
are saved in X11 "bitmap" format. This is distinct from
the X11 image format that is used by xwd to save a screen
image. This choice was made for performance reasons (xlib
provides direct routines for reading and writing bitmaps,
but not for reading and writing images). The primary
- Color is not supported for X11 bitmaps. Elements drawn
in color will not be saved in the bitmap.
- You cannot use the X11 tools xwd and xwud to view the
saved plots independently of Dataplot. However, they
can be viewed by any software the reads X11 bitmaps.
The REPEAT PLOT command is used to display a plot saved
with SAVE PLOT. The LIST PLOT command lists the currently
saved plots (by sequence number, file name, and title).
The CYCLE PLOT command allows you to cycle through the
pixmaps in the current list by clicking mouse buttons.
The PIXMAP TITLE command allows you to specify the title
for a saved plot. This title is simply for ease of
identification in listing the saved plots and is not
saved as part of the plot.
READ BERGER1.DAT Y X
FIT Y X
SAVE PLOT RES.1
QUADRATIC FIT Y X
SAVE PLOT RES.2
REPEAT PLOT RES.1
REPEAT PLOT RES.2
NIST is an agency of the U.S.
Date created: 6/5/2001
Last updated: 10/13/2015
Please email comments on this WWW page to