From help-request at octave dot org Tue Sep 27 16:38:41 2005 Subject: Re: plot3 plots surface rather than line From: "Henry F. Mollet" To: Jake Michaelson , Octave_post Date: Tue, 27 Sep 2005 14:36:52 -0700 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 jjmichael at comcast dot net 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 -------------------------------------------------------------