~ubuntu-branches/ubuntu/trusty/mayavi2/trusty

« back to all changes in this revision

Viewing changes to docs/source/mayavi/auto/example_polydata.rst

  • Committer: Package Import Robot
  • Author(s): Varun Hiremath
  • Date: 2012-04-23 16:36:45 UTC
  • mfrom: (1.1.11) (2.2.6 sid)
  • Revision ID: package-import@ubuntu.com-20120423163645-wojak95rklqlbi1y
Tags: 4.1.0-1
* New upstream release
* Bump Standards-Version to 3.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
Polydata example
6
6
--------------------------------------------
7
7
 
8
 
 
9
 
An example of how to generate a polydata dataset using numpy arrays.  
 
8
 
 
9
An example of how to generate a polydata dataset using numpy arrays.
10
10
 
11
11
The example is similar to tvtk/examples/tiny_mesh.py.  Also shown is a
12
12
way to visualize this data with mayavi2.  The script can be run like so::
16
16
It can be alternatively run as::
17
17
 
18
18
  $ python polydata.py
19
 
  
 
19
 
20
20
 
21
21
 
22
22
**Python source code:** :download:`polydata.py`