These are the examples of the mlab plotting functions. They are copied out here for convenience. Please refer to the corresponding section of the user guide for more information ( 3D Plotting functions for numpy arrays).
|
|
|
|
|
|
|
|
|
|
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
Examples showing how to use the interactive features of Mayavi, either via the mayavi2 application, or via specially-crafted dialogs and applications.
![]() |
|
|
|
|
|
|
|
|
|
|
|
![]() |
|
|
|
|
|
|
|
|
|
|
|
|
Data visualization using the core Mayavi API, object-oriented, and with more fine control than mlab.
An example of how to generate a polydata dataset using numpy arrays.
A simple example of how you can use Mayavi without using Envisage or the Mayavi Envisage application and do off screen rendering.
Shows how to view data created by enthought.tvtk.tools.mlab with mayavi2.
An example of how to generate a 2D structured points dataset using numpy arrays. Also shown is a way to visualize this data with the mayavi2 application.
This script demonstrates using the Mayavi core API to add a VectorCutPlane, split the pipeline using a MaskPoints filter and then view the filtered data with the Glyph module.
This example shows how you can produce contours on an IsoSurface.
An example of plotting scatter points with Mayavi’s core API.
An example of how to generate a 3D structured points dataset using numpy arrays. Also shown is a way to visualize this data with the mayavi2 application.
This script demonstrates how one can script Mayavi’s core API to display streamlines and an iso surface.
This script demonstrates how to create a numpy array data and visualize it as image data using a few modules.
This script demonstrates how one can script Mayavi and use its contour related modules.
A MayaVi example of how to generate an unstructured grid dataset using numpy arrays. Also shown is a way to visualize this data with mayavi2. The script can be run like so:
An example of how to generate a structured grid dataset using numpy arrays. Also shown is a way to visualize this data with the mayavi2 application.
A Mayavi example to show the different data sets. See Data structures used by Mayavi for a discussion.
A simple example of how you can use Mayavi without using Envisage or the Mayavi Envisage application.
This is a simple example that shows how to create a reader factory and register that reader with mayavi.
This script demonstrates how one can use the Mayavi application framework without displaying Mayavi’s UI.
Sample Mayavi customization file.