[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: plotting in 3D
From: |
courtois |
Subject: |
Re: plotting in 3D |
Date: |
Thu, 1 Feb 2001 17:04:29 +0100 (CET) |
On 1 Feb, Etienne Grossmann wrote:
>
> 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)
the problem is that I have already x y z in a matrix. So I don't have a
complete mesh. I have difficulties to explain myself in english. In fact
x y z (in matrix A) is partial experimental design with results in
column 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
--
Francis
=========================================================================
Dr. Francis COURTOIS I ENSIA - INRA
I 1, avenue des Olympiades
Food Process Control Lab. I 91744 MASSY Cedex
Food Engineering Department I FRANCE
-----------------------------------I Tel : (+33) (0) 1 69 93 51 29
mailto:address@hidden I Fax : (+33) (0) 1 69 93 51 85
http://ensia.inra.fr/~courtois I Cell: (+33) (0) 6 84 13 73 92
==========================================================================
-------------------------------------------------------------
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
-------------------------------------------------------------