manpagez: man pages & more
info gnuplot
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.20 replot

The replot command without arguments repeats the last ‘plot‘ or ‘splot‘ command. This can be useful for viewing a plot with different ‘set‘ options, or when generating the same plot for several devices.

Arguments specified after a replot command will be added onto the last ‘plot‘ or ‘splot‘ command (with an implied ’,’ separator) before it is repeated. replot accepts the same arguments as the ‘plot‘ and ‘splot‘ commands except that ranges cannot be specified. Thus you can use replot to plot a function against the second axes if the previous command was ‘plot‘ but not if it was ‘splot‘.

N.B.—use of

      plot '-' ; ... ; replot

is not recommended, because it will require that you type in the data all over again. In most cases you can use the refresh command instead, which will redraw the plot using the data previously read in.

Note that replot does not work in multiplot mode, since it reproduces only the last plot rather than the entire screen.

See also ‘command-line-editing‘ for ways to edit the last ‘plot‘ (‘splot‘) command.

See also ‘show plot‘ to show the whole current plotting command, and the possibility to copy it into the ‘history‘.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on November 19, 2011 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.