Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Gnuplot interactive function plotter > Re: Starting Gn...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 3524 of 3637
Post > Topic >>

Re: Starting Gnuplot with script then going interactive

by Richard Owlett <rowlett@[EMAIL PROTECTED] > Sep 28, 2008 at 04:50 AM

Pete Gregory wrote:
> Richard Owlett wrote:
> 
>> Richard Owlett wrote:
>>
>>> I am using Gnuplot Version 4.2 patchlevel 4 under WinXP Pro.
>>>
>>> I initiate everything by entering
>>>
>>> G:\gnuplot\bin\wgnuplot.exe c:\gnuplotscript.dem -
>>>
>>  --> into the Windows(tm) Run box
>>
>>>
>>> The contents of c:\gnuplotscript.dem is the following
>>>
>>> set cntrparam linear
>>> set cntrparam levels 50
>>> set cntrparam points 30
>>> set cntrparam order 10
>>> set contour surface
>>> set style data lines
>>> set ticslevel 0
>>> set zrange [0:1]
>>> unset key
>>> unset surface
>>
>> -->  # splot "-" using 2:1:($3>.001 ? $3 : 1/0)
>> that came out of a previous version
>>
>>>
>>> 0.4 20 0.00110875
>>> 0.4 40 0.00048893
>>> 0.4 60 0.00496049
>>> 0.4 80 0.0120685
>>> [ SNIP 500k of data ;]
>>> 0.71 9960 3.94556E-005
>>> 0.71 9980 2.85107E-005
>>> 0.71 10000 4.76379E-005
>>> e
>>>
>>> # ---- end of script
>>>
>>> Every thing works so far.
>>> BUT there is no command window into which to enter more commands.
>>> They would probably be "set xrange" &/or "set yrange" commands to 
>>> examine areas of interest.
>>>
>>> Reading help for "special filenames" left me wondering if I even 
>>> could do it. Suggestions?
>>>
>>>
>>>
> Hi
> 
> Don't know if this is the 'proper' way to do it, but this works for me 
> (in linux).   Enter gnuplot interactively and just load the script file.
> 
> $ gnuplot
> gnuplot> load 'gnuplotscript.dem'
> <things happen>
> gnuplot> <interactive commands>
> 
> 
> HTH
> Pete.

Knew I should have taken a break sooner. Thanks.
 




 4 Posts in Topic:
Starting Gnuplot with script then going interactive
Richard Owlett <rowlet  2008-09-27 14:22:14 
Re: Starting Gnuplot with script then going interactive
Richard Owlett <rowlet  2008-09-27 14:27:20 
Re: Starting Gnuplot with script then going interactive
Pete Gregory <pnewsg@[  2008-09-27 22:23:13 
Re: Starting Gnuplot with script then going interactive
Richard Owlett <rowlet  2008-09-28 04:50:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 5:09:26 CST 2008.