SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 1 Vol 2

REPEAT PLOT

Name:
    REPEAT PLOT
Type:
    Support Command
Purpose:
    Read a plot previously created with the SAVE PLOT command and draw it in a window distinct from the current graphics window.
Description:
    The SAVE PLOT and REPEAT PLOT commands allow you to save and recall graphs. The primary use of this is to compare the current graph to previously created graphs.

    This command is host dependent. It is currently supported for the following platforms:

    1. Unix platforms via the X11 device driver;
    2. Windows 95/98/NT command line version built with the Microsoft Fortran compiler;
    3. Dataplot GUI (both Unix and Windows 95/98/NT).
Syntax 1:
    REPEAT PLOT <file>
    where <file> is the name of a file containing a previously saved graph.

    This syntax redraws the previously saved graph in <file>

    If the file name is omitted, then the most current saved plot is drawn.

Syntax 2:
    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.

Examples:
    READ FILE.DAT Y1 Y2 Y3
    HISTOGRAM Y1
    SAVE PLOT HIST.1
    HISTOGRAM Y2
    SAVE PLOT HIST.2
    HISTOGRAM Y3
    SAVE PLOT HIST.3
    REPEAT PLOT HIST.2
    REPEAT PLOT HIST.1
Default:
    None
Synonyms:
    REPEAT GRAPH, RP, and RG are all synonyms for REPEAT PLOT.
Note:
    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.
Note:
    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.
Note:
    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 limitations are:

    1. Color is not supported for X11 bitmaps. Elements drawn in color will not be saved in the bitmap.
    2. 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.
Note:
    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.
Related Commands: Applications:
    Interactive Usage
Implementation Date:
    7/1997
Program:
    READ BERGER1.DAT Y X
    FIT Y X
    4-PLOT RES
    SAVE PLOT RES.1
    QUADRATIC FIT Y X
    4-PLOT RES
    SAVE PLOT RES.2
    REPEAT PLOT RES.1
    REPEAT PLOT RES.2

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 6/5/2001
Last updated: 10/13/2015

Please email comments on this WWW page to alan.heckert@nist.gov.