[Index for ./FEM] [Return to Master Index]

colormesh3d

(./FEM/colormesh3d.m)


Function Synopsis

retval=colormesh3d(fem_grid_struct,Q,sarg)

Help text


 COLORMESH3D draw FEM mesh in 3-d given, colored by a scalar field.
  
     INPUT : fem_grid_struct (from LOADGRID, see FEM_GRID_STRUCT)
             Q         - scalar to color with (optional)
             "nofill"  - flag (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.

            COLORMESH3D colors the mesh using the scalar Q.  If Q
            is omitted from the argument list, COLORMESH3D uses
            the bathymetry z to color the surface.  

            The default viewpoint is Azimuth = -27. degrees, 
            Elevation = 30 degrees.  See the MATLAB VIEW command for 
            more information.

     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 as : >> hp=colormesh3d(fem_grid_struct,Q,'nofill')

   Author : 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