|
From: Giacomo M. <gia...@em...> - 2009-06-22 15:05:10
|
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
--
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:
Per la Notte Rosa prenota online i pacchetti speciali di Riccione Family Hotels! Sconti bimbi, spiaggia, mini club,animazione, baby menu, parchi divertimento
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9211&d=22-6
|
|
From: HonestJago <gia...@em...> - 2009-06-22 19:14:50
|
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.
|
|
From: Zhong R. <re...@uc...> - 2009-06-22 19:38:44
|
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 <gia...@em...>
>Subject: [Gnuplot-info] Problem plotting several data files
with lines
>To: gnu...@li...
>
>
>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
>Gnu...@li...
>https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Giacomo M. <gia...@em...> - 2009-06-22 19:46:42
|
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 <gia...@em...>
>> Subject: [Gnuplot-info] Problem plotting several data files
> with lines
>> To: gnu...@li...
>>
>>
>> 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
>> Gnu...@li...
>> 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
|
|
From: Zhong R. <re...@uc...> - 2009-06-22 19:57:23
|
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 <gia...@em...>
>Subject: Re: [Gnuplot-info] Problem plotting several data
files with lines
>To: gnu...@li...
>
>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 <gia...@em...>
>>> Subject: [Gnuplot-info] Problem plotting several data files
>> with lines
>>> To: gnu...@li...
>>>
>>>
>>> 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
>>> Gnu...@li...
>>> 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
>Gnu...@li...
>https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Giacomo M. <gia...@em...> - 2009-06-22 20:17:30
|
But that isn't the correct sequence of commands: it doesn't work.
Il giorno 22/giu/09, alle ore 21:54, Zhong Ren ha scritto:
> 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 <gia...@em...>
>> Subject: Re: [Gnuplot-info] Problem plotting several data
> files with lines
>> To: gnu...@li...
>>
>> 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 <gia...@em...>
>>>> Subject: [Gnuplot-info] Problem plotting several data files
>>> with lines
>>>> To: gnu...@li...
>>>>
>>>>
>>>> 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
>>>> Gnu...@li...
>>>> 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
>> Gnu...@li...
>> 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:
Se ci racconti i tuoi gesti d'amore per il tuo cane, Cesar ti premia. Partecipa anche tu!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9203&d=22-6
|
|
From: Zhong R. <re...@uc...> - 2009-06-22 20:31:51
|
This works for me:
plot 'tmp1.dat' t '1' w l 1, 'tmp2.dat' t '2' w l 2
Zhong
---- Original message ----
>Date: Mon, 22 Jun 2009 22:17:15 +0200
>From: Giacomo Monari <gia...@em...>
>Subject: Re: [Gnuplot-info] Problem plotting several data
files with lines
>To: gnu...@li...
>
>But that isn't the correct sequence of commands: it doesn't work.
>
>Il giorno 22/giu/09, alle ore 21:54, Zhong Ren ha scritto:
>
>> 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 <gia...@em...>
>>> Subject: Re: [Gnuplot-info] Problem plotting several data
>> files with lines
>>> To: gnu...@li...
>>>
>>> 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 <gia...@em...>
>>>>> Subject: [Gnuplot-info] Problem plotting several data files
>>>> with lines
>>>>> To: gnu...@li...
>>>>>
>>>>>
>>>>> 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
>>>>> Gnu...@li...
>>>>> 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
>>> Gnu...@li...
>>> 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:
> Se ci racconti i tuoi gesti d'amore per il tuo cane, Cesar
ti premia. Partecipa anche tu!
> Clicca qui:
http://adv.email.it/cgi-bin/foclick.cgi?mid=9203&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
>Gnu...@li...
>https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Giacomo M. <gia...@em...> - 2009-06-22 20:45:24
|
Tried that... Same problems... Il giorno 22/giu/09, alle ore 22:31, Zhong Ren ha scritto: > This works for me: > > plot 'tmp1.dat' t '1' w l 1, 'tmp2.dat' t '2' w l 2 > > Zhong > > -- 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: Scegli Riccione Turismo per le tue vacanze al mare, lo specialista delle vacanze per famiglie, biker, giovani, coppie, clienti daffari Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9220&d=22-6 |
|
From: Zhong R. <re...@uc...> - 2009-06-22 21:09:54
|
What problem? You gotta post more info. Error message? I am running 4.2.5 ---- Original message ---- >Date: Mon, 22 Jun 2009 22:45:11 +0200 >From: Giacomo Monari <gia...@em...> >Subject: Re: [Gnuplot-info] Problem plotting several data files with lines >To: gnu...@li... > >Tried that... Same problems... > >Il giorno 22/giu/09, alle ore 22:31, Zhong Ren ha scritto: > >> This works for me: >> >> plot 'tmp1.dat' t '1' w l 1, 'tmp2.dat' t '2' w l 2 >> >> Zhong >> >> > > > > -- > 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: > Scegli Riccione Turismo per le tue vacanze al mare, lo specialista delle vacanze per famiglie, biker, giovani, coppie, clienti d’affari > Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9220&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 >Gnu...@li... >https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Giacomo M. <gia...@em...> - 2009-06-22 21:15:31
|
The problem object of this thread: I get no error messages, but it draws just the first curve, even in your way (which is exactly equal to my way: you're just using the abbreviations "w l" instead of "with lines" etc.) Il giorno 22/giu/09, alle ore 23:08, Zhong Ren ha scritto: > What problem? You gotta post more info. Error message? I am > running 4.2.5 > > -- 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: Vieni in vacanza nei Riccione Family Hotels! Ti aspettano servizi per bambini, mini club e tanto divertimento! Prenota on-line la tua vacanza! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9206&d=22-6 |
|
From: Zhong R. <re...@uc...> - 2009-06-22 21:36:40
|
Then the problem is in your data file. For example, there is an empty line between every other line. Try this: tmp1.dat 1 4 2 5 3 6 tmp2.dat 1 7 2 3 3 5 tmp3.dat 1 3 2 4 3 2 plot 'tmp1.dat' t '1' w l 1, 'tmp2.dat' t '2' w l 2, 'tmp3.dat' t '3' w l 3 shows the first two curves, but not the third, and no error message. ---- Original message ---- >Date: Mon, 22 Jun 2009 23:14:21 +0200 >From: Giacomo Monari <gia...@em...> >Subject: Re: [Gnuplot-info] Problem plotting several data files with lines >To: gnu...@li... > >The problem object of this thread: I get no error messages, but it >draws just the first curve, even in your way (which is exactly equal >to my way: you're just using the abbreviations "w l" instead of "with >lines" etc.) > > >Il giorno 22/giu/09, alle ore 23:08, Zhong Ren ha scritto: > >> What problem? You gotta post more info. Error message? I am >> running 4.2.5 >> >> > > > > -- > 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: > Vieni in vacanza nei Riccione Family Hotels! Ti aspettano servizi per bambini, mini club e tanto divertimento! Prenota on-line la tua vacanza! > Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9206&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 >Gnu...@li... >https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Giacomo M. <gia...@em...> - 2009-06-22 21:43:31
|
Yeah, but my data files are fine, like tmp1.dat and tmp2.dat. And anyway I can plot them together if I use lines for the first data file, points for the second and linespoints for the third. The problem is that I can't plot together 2 or more data files together WITH LINES. Il giorno 22/giu/09, alle ore 23:33, Zhong Ren ha scritto: > Then the problem is in your data file. For example, there is > an empty line between every other line. > > Try this: > > tmp1.dat > 1 4 > 2 5 > 3 6 > > tmp2.dat > 1 7 > 2 3 > 3 5 > > tmp3.dat > 1 3 > > 2 4 > > 3 2 > > plot 'tmp1.dat' t '1' w l 1, 'tmp2.dat' t '2' w l 2, > 'tmp3.dat' t '3' w l 3 > shows the first two curves, but not the third, and no error > message. -- 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: Per le tue vacanze al mare scegli Riccione Turismo: servizi su misura, sport, benessere ed enogastronomia. Offerte a prezzi vantaggiosi! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9222&d=22-6 |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-06-22 20:20:18
|
Giacomo Monari wrote:
> >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
How exactly do you send this to gnuplot? In a script file, or
interactively? Do you get any error or warning messages?
And what gnuplot version is that, anyway. On what platform?
> 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.
That cannot happen. Are you *sure* your second and third data file
contain data actually plottable as lines?
|