Next:
Introduction
Up:
pygist
Previous:
pygist
Index
Contents
Introduction
History
The 1.5 Update
Platforms
Current Maintenance
PyGist Installation
Windows
Cygwin
User Setup and Demo
GISTPATH
Python Gist Graphics
PyGist 2D Graphics
Example 1
Example 2
PyGist 3D Graphics
General overview of module pl3d
Overview of module plwf
Overview of module slice3
movie.py: PyGist 3D Animation
Examples
Function Summary
Control Functions
Device Control
Window Control
Changing the Window Style Interactively
Hard Copy and File Control
Other Controls
animate: Control Animation Mode
palette: Set or Retrieve Palette
plsys: Set Coordinate System
redraw: Redraw X Window
Plot Limits and Scaling
Setting Plot Limits
limits: Save or Restore Plot Limits
ylimits: Set y-axis Limits
Scaling and Grid Lines
logxy: Set Linear/ Log Axis Scaling
gridxy: Specify Grid Lines
Zooming Operations
Two-Dimensional Plotting Functions
Output Primitives
plg: Plot a Graph
plmesh: Set Default Mesh
plm: Plot a Mesh
plc: Plot Contours
plv: Plot a Vector Field
plf: Plot a Filled Mesh
plfc: Plot filled contours
plfp: Plot a List of Filled Polygons
pli: Plot a Cell Array
pldj: Plot Disjoint Lines
plt: Plot Text
pltitle: Plot a Title
plh: Plot a Histogram
Plot Function Keywords
Inquiry and Miscellaneous Functions
Inquiry and Editing Functions
plq: Query Plot Element Status
pledit: Change Plotting Properties
plremove: Remove Plot Element from Display
pldefault: Set Default Values
Miscellaneous Functions
bytscl: Convert to Color Array
histeq_scale: Histogram Equalized Scaling
mesh_loc: Get Mesh Location
mouse: Handle Mouse Click
moush: Mouse in a Mesh
pause: Pause
Three-Dimensional Plotting Functions
Setting Up For 3D Graphics
The Plotting List
Functions For Setting Viewing Parameters
Lighting Parameters
Display List
3D Graphics Control Functions
Getting a Window
Displaying the Gnomon
Plotting the Display List
The variable _draw3 and the idler
Data Setup Functions for Plotting
Creating a Plane
Creating a mesh3 argument
The Slicing Functions
slice3mesh: Pseudo-slice for a surface
slice3: Plane and Isosurface Slices of a 3D mesh
slice2 and slice2x: Slicing Surfaces with planes
The 3D Plotting Functions
plwf: plot a wire frame
pl3surf: plot a 3-D surface
pl3tree: add a surface to a plotting tree
Contour Plotting on Surfaces: plzcont and pl4cont
Animation: movie and spin3
The movie module and function
The spin3 function
Syntactic Sugar: Some Helpful Functions
Specifying the palette to be split: split_palette
Saving and restoring the view and lighting: save3, restore3
Bibliography
Acknowledgements
Useful Functions for Developers
Find 3D Lighting: get3_light
Get Normals to Polygon Set: get3_normal
Get Centroids of Polygon Set: get3_centroid
Get Viewer's Coordinates: get3_xy
Add object to drawing list: set3_object
Sort z Coordinates: sort3d
Set the cmax parameter: lightwf
Return a Wire Frame Specification: xyz_wf
Calculate Chunks of Mesh: iterator3
Get Vertex Values of Function: getv3
Get Cell Values of Function: getc3
Controlling Points Close to the Slicing Plane: _slice2_precision
Scale variables to a palette: bytscl, split_bytscl
Return Vertex Coordinates for a Chunk: xyz3
Find Corner Indices of List of Cells: to_corners3
Timing: timer_, timer_print
Maintenance: Things You Really Didn't Want to Know
The Workhorse: gistCmodule
Memory Maintenance: PyObjects
Memory Management: ArrayObjects
Memory Management: naked memory
Computing contour curves: contour
Computing slices: slice2, slice2x, _slice2_part
Some Yorick-like Functions: yorick.py
Additional Array Operations: arrayfnsmodule
Counting Occurrences of a Value: histogram
Assigning to an Arbitrary Subset of an Array: array_set
Sorting an array: index_sort
Interpolating Values: interp
Digitizing an array: digitize
Reversing a Two-Dimensional array: reverse
Obtaining an Equally-Spaced Array of Floats: span
Effective Length of an Array: nz
Finding Edges Cut by Isosurfaces: find_mask
Order Cut Edges of a cell: construct3
Expand cell-centered values to node-centered values: to_corners
More slice3 details
Standard ordering for the four types of mesh cells
Standard numbering of cells in a regular rectangular mesh
How slice3 works
Index
Michiel Jan Laurens de Hoon 2003-04-19