« Return to Thread: Problem plotting several data files with lines

Re: Problem plotting several data files with lines

by renzresearch :: Rate this Message:

Reply to Author | View in Thread

I don't know.  I usually write command like this:

plot  "r0_d0.dat" w l 1 t "z = 0","r1_d0.dat" w l 2 t "z =
R_{max}/2","r2_d0.dat" w l 3 t "z = R_{max}/4"

Zhong


---- Original message ----
>Date: Mon, 22 Jun 2009 21:46:34 +0200
>From: Giacomo Monari <giacomomonari@...>  
>Subject: Re: [Gnuplot-info] Problem plotting several data
files with lines  
>To: gnuplot-info@...
>
>Mmm, no unfortunately it does the same thing even if I write
che  
>command like
> > plot  "r0_d0.dat" ls 1 ti "z = 0" w lines,"r1_d0.dat" ls 2
ti "z =  

>R_{max}/2" w lines,"r2_d0.dat" ls 3 ti "z = R_{max}/4" with lines
>
>Giacomo
>
>
>Il giorno 22/giu/09, alle ore 21:38, Zhong Ren ha scritto:
>
>> Do you sometimes have a space after \?  If so, that space is
>> escaped, not the newline character, and as a result, the
>> second and third files may never be loaded in.  That is why
>> sometimes you see it, sometimes you don't.
>>
>> Zhong
>>
>>
>> ---- Original message ----
>>> Date: Mon, 22 Jun 2009 12:14:43 -0700 (PDT)
>>> From: HonestJago <giacomomonari@...>
>>> Subject: [Gnuplot-info]  Problem plotting several data files
>> with lines
>>> To: gnuplot-info@...
>>>
>>>
>>> Hi everyone,
>>> I've a problem trying to plot several data files with lines,
>> no matter of
>>> the terminal. I've to plot some curves from data files with a
>> command  like:
>>>> plot  "r0_d0.dat" ls 1 ti "z = 0" with lines,\
>>>> "r1_d0.dat" ls 2 ti "z = R_{max}/2" with lines,\
>>>> "r2_d0.dat" ls 3 ti "z = R_{max}/4" with lines
>>>
>>> Only problem is that when I look at the output it shows only
>> the first
>>> curve, the key, the labels etc. but nothing about the 2nd and
>> 3rd curve.
>>> Note that is I choose to plot the 2nd curve with points and
>> 3rd with
>>> linespoints this work... And note that if I try to plot
>> something like
>>>> plot  sin(x) ls 1 ti "z = 0" with lines,\
>>>> cos(x) ls 2 ti "z = R_{max}/2" with lines,\
>>>> cos(x)*cos(x) ls 3 ti "z = R_{max}/4" with lines
>>> it works correctly.
>>> What could it be and what could I do?
>>>
>>> Thanks in advance,
>>> Giacomo
>>>
>>> --
>>> View this message in context:
>>
http://www.nabble.com/Problem-plotting-several-data-files-with- 
>> lines-tp24147926p24147926.html
>>> Sent from the Gnuplot - User mailing list archive at
Nabble.com.
>>>
>>>
>>>
---------------------------------------------------------------------

>>> ---------
>>> Are you an open source citizen? Join us for the Open Source
>> Bridge conference!
>>> Portland, OR, June 17-19. Two days of sessions, one day of
>> unconference: $250.
>>> Need another reason to go? 24-hour hacker lounge. Register
today!

>>> http://ad.doubleclick.net/clk;215844324;13503038;v?http:// 
>>> opensourcebridge.org
>>> _______________________________________________
>>> Gnuplot-info mailing list
>>> Gnuplot-info@...
>>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
>
> --
> Caselle da 1GB, trasmetti allegati fino a 3GB e in piu'
IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it
http://www.email.it/f
>
> Sponsor:
> Notte Rosa a Riccione
>* Per la Notte Rosa non perdere i pacchetti speciali degli
hotel di Riccione Turismo! Sconti bimbi, spiaggia, parchi
divertimento, cucina tipica!
> Clicca qui:
http://adv.email.it/cgi-bin/foclick.cgi?mid=9217&d=22-6
>
>------------------------------------------------------------------------------
>Are you an open source citizen? Join us for the Open Source
Bridge conference!
>Portland, OR, June 17-19. Two days of sessions, one day of
unconference: $250.
>Need another reason to go? 24-hour hacker lounge. Register today!
>http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
>_______________________________________________
>Gnuplot-info mailing list
>Gnuplot-info@...
>https://lists.sourceforge.net/lists/listinfo/gnuplot-info

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-info

 « Return to Thread: Problem plotting several data files with lines