[SciPy-user] How to draw a 3D graphic of a function?

Gael Varoquaux gael.varoquaux@normalesup....
Fri Apr 11 08:02:03 CDT 2008


On Fri, Apr 11, 2008 at 08:57:50PM +0800, zhang chi wrote:
>       I want to draw a matrix of 100 X 100, its elements are the values of a
>    function.

I suppose you want to map the value of your matrix to the altitude of a
surface?

You can do this with Mayavi2. Have a look at the user guide,
https://svn.enthought.com/enthought/attachment/wiki/MayaVi/user_guide.pdf?format=raw
section "simple scripting with mlab", or "mlab reference" to see if you
find what you want.

If you need help installing Mayavi2, give me more details on your
platform.

Cheers,

Gaël


More information about the SciPy-user mailing list