From help-octave-request at bevo dot che dot wisc dot edu Thu Feb 1 10:01:48 2001 Subject: Re: plotting in 3D From: Etienne Grossmann To: help-octave at bevo dot che dot wisc dot edu CC: etienne at isr dot ist dot utl dot pt, courtois@ensia.inra.fr Date: Thu, 01 Feb 2001 16:05:08 +0000 Hello, From: courtois at ensia dot inra dot fr # Hi # # I don't understand how to plot in 3d a matrix (30 x 3). I read # sombrero.m but in my case the mesh is partial, and the "gset # parametrics" is ununderstandable. # # any help ? What about : octave:361> [x, y] = meshgrid (linspace (-10,10,30),linspace (-10,10,30)); octave:362> z = sin (x) + y.^2/100; octave:363> mesh (x, y, z) I have written a 'vmesh (x,y,z)' function that launches a VRML browser and lets you examine your surface. No axes or tics, though; also, you need to have the browser installed. Cheers, Etienne ------------------------------------------------------------- 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 -------------------------------------------------------------