[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Only one trace appears in gnuplot
From: |
Neil Davey |
Subject: |
Re: Only one trace appears in gnuplot |
Date: |
Wed, 30 Jun 1999 09:58:04 +1000 (EST) |
On Tue, 29 Jun 1999, Robert D. Penny wrote:
> I have just compiled and installed octave-2.0.14 on a Redhat 6.0 system.
I have the same configuration...
> I've encountered a small glitch in plotting two traces on the same
> figure. It appears that the problem occurs when gnuplot is only sent a small
> amount of data.
>
> If I execute
>
> octave:1> a=[0:.1:5];
> octave:2> plot(a,sin(a),a,cos(a))
>
> gnuplot only displays the sine curve, whereas
yep... I get that also, but if I do a replot as the next command both line
appear..
> octave:1> a=[0:.1:6];
> octave:2> plot(a,sin(a),a,cos(a))
>
> displays both the sine and the cosine curve.
yep..
> Similarly, executing
>
> octave:11> a=[0:.1:2];
> octave:12> plot(a,sin(a),a,cos(a),a,(sin(a)).^2)
>
> displays 3 traces, whereas
yep...
> octave:9> a=[0:.1:1];
> octave:10> plot(a,sin(a),a,cos(a),a,(sin(a)).^2)
>
> only displays one trace. However, adding an explicit data point of (0,0)
> at the end
again if I issue a replot as the next command the three plots appear
> octave:15> plot(a,sin(a),a,cos(a),a,(sin(a)).^2,0,0)
>
> then causes all three traces to display.
yep..
> Is this a known problem? Do others see this problem?
I don't know if it is a problem, but I get exactly the same problem and I
have the same configuration.. since a replot displays the data correctly,
I think this is only a minor problem...
Neil
> I'm using
>
> G N U P L O T
> Linux version 3.7
> patchlevel 0
> last modified Thu Jan 14 19:34:53 BST 1999
me too...
> Thanks,
>
> -Rob Penny (address@hidden)
>
>
>
> ---------------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL. To ensure
> that development continues, see www.che.wisc.edu/octave/giftform.html
> Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
> ---------------------------------------------------------------------
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Neil Davey
Postgraduate Research Student
Radio Science Laboratory
School of Microelectronic Engineering
Griffith University, Nathan, QLD Australia 4111
Ph: 3875 5574
Mobile: 0414 662 110
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This world is but merely a stepping stone....
---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL. To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------