[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: plot3 plots surface rather than line
From: |
Henry F. Mollet |
Subject: |
Re: plot3 plots surface rather than line |
Date: |
Tue, 27 Sep 2005 14:36:52 -0700 |
User-agent: |
Microsoft-Entourage/11.1.0.040913 |
I've tried the example for plot3 (x, y, z), get a surface but do not
understand the graph. The graph is using a categorical variable for x (1 to
100), y goes from 0 to 2, and the z scale indicates values between -1 to +5.
Henry
Example
z = [0:0.05:5];
plot3(cos(2*pi*z), sin(2*pi*z), z, ";helix;");
on 9/27/05 10:16 AM, Jake Michaelson at address@hidden wrote:
> Hi all,
>
> New user of octave/octave-forge here. I've been very perplexed about
> the behavior of plot3. I have a data matrix of the columns and 1400
> rows. I assign x,y,z with code like
>
> x=data(:,1);
>
> ...etc. and then use
>
> plot3(x,y,z);
>
> I've tested this on my Linux box and got a surface. I did the same
> thing on my Mac at home and got a line (which is what I wanted). Then
> I tried my Mac at work and got a surface again!
>
> Anyone know what's going on here? I'm using Octave 2.1.71 on all
> machines, as well as the 2005.6.13 version of octave-forge.
>
> Thanks,
>
> Jake
>
>
>
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
>
-------------------------------------------------------------
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
-------------------------------------------------------------