replot command without arguments repeats the last
command. This can be useful for viewing a plot with different
or when generating the same plot for several devices.
Arguments specified after a
replot command will be added onto the last
splot command (with an implied ',' separator) before it is
replot accepts the same arguments as the
commands except that ranges cannot be specified. Thus you can use
to plot a function against the second axes if the previous command was
but not if it was
splot, and similarly you can use
replot to add a plot
from a binary file only if the previous command was
plot '-' ; ... ; replot
is not recommended.
gnuplot does not store the inline data internally, so
replot appends new information to the previous
plot and then
executes the modified command, the
'-' from the initial
plot will expect
to read inline data again.
replot does not work in
multiplot mode, since it reproduces
only the last plot rather than the entire screen.
command-line-editing for ways to edit the last