On Saturday, 08 June 2019 21:15:14 Coleman Blake wrote:
Let's say I'm working on a graph from the command line and have it just about right.
How do I save what I've done that I call edit so I don't have to retype the whole thing.
I know this has been answered, but I've just spent several hour trying to find out where.
C.
I may not understand the question, but the obvious answer is "save <filename>".
This dumps the current state of the program including the most recent plot
command. If you later run gnuplot and say "load <filename>" it will re-create
the plot you saved.</filename></filename>
There is an auxilliary script named "gpsavediff" that you can run to
reduce the size of the saved command file. It compares the saved commands with
the default state and only keeps those that are changes from the default.
Let's say I'm working on a graph from the command line and have it just about right.
How do I save what I've done that I call edit so I don't have to retype the whole thing.
I know this has been answered, but I've just spent several hour trying to find out where.
C.
On Saturday, 08 June 2019 21:15:14 Coleman Blake wrote:
I may not understand the question, but the obvious answer is "save <filename>".
This dumps the current state of the program including the most recent plot
command. If you later run gnuplot and say "load <filename>" it will re-create
the plot you saved.</filename></filename>
There is an auxilliary script named "gpsavediff" that you can run to
reduce the size of the saved command file. It compares the saved commands with
the default state and only keeps those that are changes from the default.
--
entia non sunt multiplicanda praeter necessitatem
You are looking for the 'history' command. see
help history
.