Differences between revisions 64 and 65

Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
||<#80FF80> The information on this page is a bit old and outdated. You are invited to refer to the [http://enthought.github.com/mayavi/mayavi/ Mayavi2 user guide] as a reference. For a quick introduction to scripting, see [http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/mlab.html mlab]. In recent versions of Mayavi2, the user guide can be accessed in the help menu, but the user guide for the latest version of Mayavi can also be found [http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/ on line]. || ||<#80FF80> The information on this page is a bit old and outdated. You are invited to refer to the [http://enthought.github.com/mayavi/mayavi/ Mayavi2 user guide] as a reference. For a quick introduction to scripting, see [http://enthought.github.com/mayavi/mayavi/mlab.html mlab]. In recent versions of Mayavi2, the user guide can be accessed in the help menu, but the user guide for the latest version of Mayavi can also be found [http://enthought.github.com/mayavi/mayavi/ on line]. ||
Line 26: Line 26:
 * For installation of !MayaVi2 in the enthought tool suite see the [http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/installation.html Mayavi documentation]  * For installation of !MayaVi2 in the enthought tool suite see the [http://enthought.github.com/mayavi/mayavi/installation.html Mayavi documentation]

Mayavi2 is a interactive program allowing elaborate 3D plots of scientific data in Python with scipy. It is the successor of MayaVi for 3D visualization.

The information on this page is a bit old and outdated. You are invited to refer to the Mayavi2 user guide as a reference. For a quick introduction to scripting, see mlab. In recent versions of Mayavi2, the user guide can be accessed in the help menu, but the user guide for the latest version of Mayavi can also be found on line.

If you need more help, you are invited to ask questions on the Enthought-dev mailing list.

!Mayavi2 relies on VTK, and especially a python interface to it: TVTK.

A mayavi2 session.

MayaVi2 topics

MayaVi2 can be used as an interactive program or not, as it will be presented here.

  • For installation of MayaVi2 in the enthought tool suite see the Mayavi documentation

  • Using MayaVi2:

  • Scripting Examples (all provided in MayaVi2 svn tree):

    • Using Contour Module (contour.py)
    • Using Glyph Module (glyph.py)
    • Using Mayavi2 without GUI (nongui.py)
    • A 3D array as numerical source (numeric_source.py)
    • Using Streamline Module (streamline.py)
    • Using ImagePlaneWidget Module (test.py)

    • Plotting a surface from a matrix (surf_regular_mlab.py). See also Cookbook/MayaVi/Surf

  • Tips: General tips for MayaVi2 and around.

TVTK

Using the mlab module from ipython

  • Mlab: module allowing to drive VTK from Python to do 3D plots ala matlab.

  • tvtk: Traited VTK, including iVTK

Visualization of the (5,2,1) orbital of the H-atom using an iso-surface and a semi-transparant scalar cut plane.


CategoryCookbook

Cookbook/MayaVi (last edited 2011-04-18 16:15:34 by GaelVaroquaux)