Prabhu Ramachandran and Ga¨el Varoquaux - SciPy
Mayavi2 tutorial
Prabhu Ramachandran and Ga?el Varoquaux
1 Introduction to Mlab
1 Introduction to Mlab
1 Mlab: simple scripting for Mayavi2
from enthought.mayavi import mlab Simple problems should have simple solutions. Work interactively in IPython (-wthread). Work with numpy arrays. People know the pylab/matlab plotting API.
x, y = ogrid [-10:10:100 j , -10:10:100 j ] r = sqrt (x**2 + y**2) from enthought .mayavi import mlab mlab. s u r f ( sin ( r )/ r )
x
1 Mlab: plotting functions
0D data
mlab.points3d(x, y, z)
1D data
mlab.plot3d(x, y, z)
2D data
mlab. surf (z) mlab.mesh(x, y, z)
3D data
mlab.contour3d(z)
Vector fields
mlab.quiver3d(x, y, z)
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- python programming for physicists
- package pgfplots manual
- read map and extract modis aerosol data using python scripts
- 3d graphics in matlab
- plotting surfaces university of texas at dallas
- prabhu ramachandran and ga¨el varoquaux scipy
- interpolation and curve fitting
- 1 computer lab 1 plotting in 3d northeastern university
- physics simulations in python
- spec a physicist s and user s perspective