[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuplot-info
Subject:    Re: [Gnuplot-info] Starting a gnuplot script clean
From:       sheltraw () berkeley ! edu
Date:       2010-05-21 23:03:11
Message-ID: 3c410abfbaae314642e235c36f30f761.squirrel () calmail ! berkeley ! edu
[Download RAW message or body]

Reset. Thanks Hans. That fixed it.


> sheltraw@berkeley.edu 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.
>
>



------------------------------------------------------------------------------

_______________________________________________
gnuplot-info mailing list
gnuplot-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-info
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic