
Mayavi: 3D scientific data visualization and plotting in Python
Welcome, this is the user guide for Mayavi, a application and library for interactive scientific data visualization and 3D plotting in Python. Getting started You want to use an interactive application to visualize your data in 3D?
mlab: Python scripting for 3D plotting — mayavi 4.8.2 …
2024年5月23日 · The mayavi.mlab module, that we call mlab, provides an easy way to visualize data in a script or from an interactive prompt with one-liners as done in the matplotlib pylab interface but with an emphasis on 3D visualization using Mayavi2. This allows users to perform quick 3D visualization while being able to use Mayavi’s powerful features.
Installation — mayavi 4.8.2 documentation - Enthought
2024年5月23日 · This section details the various ways of installing Mayavi. If you already have Mayavi up and running, you can skip this section. By itself Mayavi is not a difficult package to install but its dependencies are unfortunately rather heavy.
Example gallery — mayavi 4.8.2 documentation - Enthought
2024年5月23日 · This script demonstrates how one can script Mayavi and use its contour related modules. Probe filter example. Using the probe filter to visualize a scalar field along an arbitrary surface. Unstructured grid example. A MayaVi example of how to generate an unstructured grid dataset using numpy arrays. Also shown is a way to visualize this data ...
Exploring a vector field — mayavi 4.8.2 documentation - Enthought
2024年5月23日 · Using the Mayavi application » Exploring a vector field In this example, we create a vector field from the gradient of a scalar field and explore it interactively.
Plotting functions — mayavi 4.8.2 documentation - Enthought
mayavi.mlab. barchart (* args, ** kwargs) ¶ Plots vertical glyphs (like bars) scaled vertical, to do histogram-like plots. This functions accepts a wide variety of inputs, with positions given in 2-D or in 3-D.
Data representation in Mayavi — mayavi 4.8.2 documentation
2024年5月23日 · This object is a Mayavi source, and serves to describe the data and its properties to the Mayavi pipeline. The internal structures use to represent to data in 3D all across Mayavi are VTK datasets, as described below.
Figure handling functions — mayavi 4.8.2 documentation
2024年5月23日 · mayavi.mlab. figure (figure = None, bgcolor = None, fgcolor = None, engine = None, size = (400, 350)) ¶ Creates a new scene or retrieves an existing scene. If the mayavi engine is not running this also starts it.
Building applications using Mayavi — mayavi 4.8.2 documentation
2024年5月23日 · Mayavi can be used as a fully integrated and interactive 3D plotting tool in a GUI application. Using the event model behind Traits and TVTK, all the different properties of a visualization can be changed dynamically, including the data visualized itself.
Other functions — mayavi 4.8.2 documentation - Enthought
2024年5月23日 · mayavi.mlab. animate (func = None, delay = 500, ui = True, support_movie = True) ¶ :: A convenient decorator to animate a generator performing an animation. The delay parameter specifies the delay (in milliseconds) between calls to the decorated function.