Talk About Network

Google





Graphics > Gnuplot interactive function plotter > Re: replot '-' ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 3367 of 3655
Post > Topic >>

Re: replot '-' : e does not terminate command

by Tim Hoffmann <tim.hoffmann@[EMAIL PROTECTED] > Jun 18, 2008 at 09:23 PM

Mirko.Vukovic@[EMAIL PROTECTED]
 wrote:
> Hi,
> 
> I am trying to use replot to add curves to my plot.  The following
> gives me an error on the command line:
> 
> gnuplot> plot '-'
> input data ('e' ends) > 1 2
> input data ('e' ends) > 3 4
> input data ('e' ends) > 5 6
> input data ('e' ends) > e
> gnuplot> replot '-'
> input data ('e' ends) > 9 10
> input data ('e' ends) > 11 12
> input data ('e' ends) > 13 14
> input data ('e' ends) > e
> input data ('e' ends) > e
> 
> gnuplot> plot '-', '-'
>                       ^
>          no data point found in specified file
> 
> Notice that the first e did not terminate the command.  What am I
> doing wrong?
gnuplot does not store plotted data internally. Replot rereads the 
previous data.

plot file1
replot file2

is the same as

plot file1
plot file1, file2

So as gnuplot already tells you, you do: plot '-', '-'
9 10 ... refers to the first '-'
and you don't supply any data for the second '-'

Tim
 




 3 Posts in Topic:
replot '-' : e does not terminate command
Mirko.Vukovic@[EMAIL PROT  2008-06-18 11:56:05 
Re: replot '-' : e does not terminate command
Tim Hoffmann <tim.hoff  2008-06-18 21:23:22 
Re: replot '-' : e does not terminate command
Mirko.Vukovic@[EMAIL PROT  2008-06-18 13:22:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
localhost-V2008-12-19 Thu Jan 8 1:44:29 PST 2009.