help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plot3 plots surface rather than line


From: jjmichael
Subject: Re: plot3 plots surface rather than line
Date: Wed, 28 Sep 2005 19:28:17 +0000

Yes!  This is exactly the problem that I'm experiencing.  Is the only solution 
to downgrade to something less than 2.1.71?

--Jake


> I've tested the example for plot3 using Octave 2.1.49 and I get the helix as
> expected from ";helix;".
> z = [0:0.05:5];
>    plot3(cos(2*pi*z), sin(2*pi*z), z, ";helix;");
> 
> For results in 2.1.71 see attached (24kb PDF) which presumably must be a
> "carpet" plot.
> Henry
> 
> 
> 
> 
> on 9/28/05 8:30 AM, Przemek Klosowski at address@hidden wrote:
> 
> > The help for plot3 says:
> > 
> >        usage: plot3 (x, y, z)
> >      ...
> >        If all arguments are vectors of the same length, a single line
> >        is drawn in three space.
> > 
> > but on my  2.1.71 it does something else: it treats the x,y,z vectors
> > as values of Z for three lines in the X-Y plane; in other words, it's
> > plot3(z1,z2,z3), showing a 3-by-length(z) carpet plot.
> > 
> > 
> > 
> > -------------------------------------------------------------
> > Octave is freely available under the terms of the GNU GPL.
> > 
> > Octave's home on the web:  http://www.octave.org
> > How to fund new projects:  http://www.octave.org/funding.html
> > Subscription information:  http://www.octave.org/archive.html
> > -------------------------------------------------------------
> > 
> 

--- Begin Message --- Subject: Re: plot3 plots surface rather than line Date: Wed, 28 Sep 2005 18:01:57 +0000

Attachment: plot3example.pdf
Description: Binary data


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]