|
From: Hans-Bernhard B. <HBB...@t-...> - 2010-05-21 18:51:30
|
she...@be... wrote: > How can I start a gnuplot script so that it puts all variables and the > terminal into a known state? You don't have to do anything to achieve that effect. Really. At the start of a gnuplot session all variables and settings _are_ in a known state. > I am having trouble with getting different > plot appearances the first time I run a script versus subsequent runs > of the same script. That's not a problem with the initial state of gnuplot, but rather with the state your script leaves gnuplot in. Those changes will affect gnuplot if you re-load the same script again. If you don't want that, put a 'reset' command at the start of your script, and set variables to the values you want them to have, at the start of the script. |