Category
Description
Surface and Mesh Plots
Plot matrices, visualize functions of two
variables, specify colormap
View Control
Control the camera viewpoint, zooming,
rotation, aspect ratio, set axis limits
Lighting
Add and control scene lighting
Transparency
Specify and control object transparency
Volume Visualization
Visualize gridded volume data
Surface and Mesh Plots
• Creating Surfaces and Meshes
• Domain Generation
• Color Operations
• Colormaps
Creating Surfaces and Meshes
hidden
Mesh hidden line removal mode
meshc
Combination mesh/contourplot
mesh
3-D mesh with reference plane
peaks
A sample function of two variables
surf
3-D shaded surface graph
surface
Create surface low-level objects
surfc
Combination surf/contourplot
surfl
3-D shaded surface with lighting
tetramesh
Tetrahedron mesh plot
trimesh
Triangular mesh plot
triplot
2-D triangular plot
trisurf
Triangular surface plot
1-43
1 Functions By Category
Domain Generation
griddata
Data gridding and surface fitting
meshgrid
Generation of X and Y arrays for 3-D plots
Color Operations
brighten
Brighten or darken color map
caxis
Pseudocolor axis scaling
colorbar
Display color bar (color scale)
colordef
Set up color defaults
colormap
Set the color look-up table (list of colormaps)
graymon
Graphics figure defaults set for grayscale monitor
hsv2rgb
Hue-saturation-value to red-green-blue conversion
rgb2hsv
RGB to HSVconversion
rgbplot
Plot color map
shading
Color shading mode
spinmap
Spin the colormap
surfnorm
3-D surface normals
whitebg
Change axes background color for plots
Colormaps
autumn
Shades of red and yellow color map
bone
Gray-scale with a tinge of blue color map
contrast
Gray color map to enhance image contrast
cool
Shades of cyan and magenta color map
copper
Linear copper-tone color map
flag
Alternating red, white, blue, and black color map
gray
Linear gray-scale color map
hot
Black-red-yellow-white color map
hsv
Hue-saturation-value (HSV) color map
jet
Variant of HSV
lines
Line color colormap
prism
Colormap of prism colors
spring
Shades of magenta and yellow color map
summer
Shades of green and yellow colormap
winter
Shades of blue and green color map
View Control
• Controlling the Camera Viewpoint
• Setting the Aspect Ratio and Axis Limits
• Object Manipulation
1-44
3-D Visualization
• Selecting Region of Interest
Controlling the Camera Viewpoint
camdolly
Move camera position and target
camlookat
View specific objects
camorbit
Orbit about camera target
campan
Rotate camera target about camera position
campos
Set or get camera position
camproj
Set or get projection type
camroll
Rotate camera about viewing axis
camtarget
Set or get camera target
camup
Set or get camera up-vector
camva
Set or get camera view angle
camzoom
Zoom camera in or out