|
From: sfeam <sf...@us...> - 2014-11-16 20:20:09
|
On Sunday, 16 November 2014 09:02:31 PM Karl Ratzsch wrote: > P.S. It should optionally be possible to strip the saved script from > all settings that were not changed from the default/not used in the > present plot, so it can easily be edited and re-used. (That´d be a > cool feature also without an interactive terminal.) That is what the gpsavediff tool is for. It is a contributed script that you can get from the SourceForge site: wget http://gnuplot.sourceforge.net/scripts/files/gpsavediff You can either run it after the fact to clean up a save file, or have the save command pipe through it: save "|gpsavediff > saved_session.gp" I would love to have it integrated into gnuplot as a built-in command, but I haven't come up with a clean way to do that. Ethan |