help-octave
[Top][All Lists]
Advanced

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

Re: plotting in 3D


From: Etienne Grossmann
Subject: Re: plotting in 3D
Date: Thu, 01 Feb 2001 16:05:08 +0000
User-agent: WEMI/1.13.7 (Shimada) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386-debian-linux-gnu) (with unibyte mode)

  Hello,

From: address@hidden
#  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
-------------------------------------------------------------



reply via email to

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