[Index for ./FEM]
[Return to Master Index]
colormesh2d
(./FEM/colormesh2d.m)
Function Synopsis
rv1=colormesh2d(fem_grid_struct,Q,nband)
Help text
COLORMESH2D draw a FEM mesh in 2-d colored by a scalar quantity.
INPUT : fem_grid_struct (from LOADGRID, see FEM_GRID_STRUCT)
Q - scalar to color with (optional)
nband - number of contour bands to compute (optional)
With no scalar specified to contour, COLORMESH2D
defaults to the bathymetry fem_grid_struct.z
OUTPUT : hp - vector of handles, one for each element patch drawn.
COLORMESH2D colors the mesh using the scalar Q. If Q
is omitted from the argument list, COLORMESH2D draws
the element connectivity in black and white.
NOTE: This is one of the few (2 or 3) OPNML MATLAB functions that
deletes existing patch objects in the current axes before
rendering the surface. This is to avoid having an unmanageable
number of patch objects on the screen.
CALL : >> hp=colormesh2d(fem_grid_struct,Q,nband)
Written by : Brian O. Blanton
Cross-Reference Information
This function calls
Produced by mat2html on Tue Feb 2 16:15:45 EST 1999
Cross-Directory links are: OFF