MLab reference — mayavi 4.7.2 documentation

# MLab reference

Reference list of all the main functions of `mayavi.mlab` with documentation and examples.

Note

This section is only a reference describing the function, please see the chapter on mlab: Python scripting for 3D plotting for an introduction to mlab and how to run the examples or interact with and assemble the functions of mlab.

- Plotting functions
  - barchart
  - contour3d
  - contour_surf
  - flow
  - imshow
  - mesh
  - plot3d
  - points3d
  - quiver3d
  - surf
  - triangular_mesh
  - volume_slice
- Figure handling functions
  - clf
  - close
  - draw
  - figure
  - gcf
  - savefig
  - screenshot
  - sync_camera
- Figure decoration functions
  - colorbar
  - scalarbar
  - vectorbar
  - xlabel
  - ylabel
  - zlabel
- Camera handling functions
  - move
  - pitch
  - roll
  - view
  - yaw
- Other functions
  - animate
  - axes
  - get_engine
  - init_notebook
  - orientation_axes
  - outline
  - process_ui_events
  - set_engine
  - show
  - show_engine
  - show_pipeline
  - start_recording
  - stop_recording
  - text
  - text3d
  - title
- Mlab pipeline-control reference
  - Sources
    - array2d_source
    - builtin_image
    - builtin_surface
    - chaco_file
    - grid_source
    - line_source
    - open
    - parametric_surface
    - point_load
    - scalar_field
    - scalar_scatter
    - triangular_mesh_source
    - vector_field
    - vector_scatter
    - vertical_vectors_source
    - volume_file
  - Tools
    - add_dataset
    - add_module_manager
    - get_vtk_src
    - set_extent
    - traverse
  - Data
    - probe_data
  - Modules and Filters