Skip to Main Content Skip to Search
Product Documentation

3-D Visualization

Surface and Mesh PlotsPlot matrices, visualize functions of two variables, specify colormap
View ControlControl the camera viewpoint, zooming, rotation, aspect ratio, set axis limits
LightingAdd and control scene lighting
TransparencySpecify and control object transparency
Volume VisualizationVisualize gridded volume data

Surface and Mesh Plots

Surface and Mesh CreationVisualizing gridded and triangulated data as lines and surfaces
Domain GenerationGridding data and creating arrays
Color OperationsSpecifying, converting, and manipulating color spaces, colormaps, colorbars, and backgrounds

Surface and Mesh Creation

hiddenRemove hidden lines from mesh plot
meshMesh plot
meshcPlot a contour graph under mesh graph
meshzPlot a curtain around mesh plot
peaksExample function of two variables
surf3-D shaded surface plot
surfaceCreate surface object
surfcContour plot under a 3-D shaded surface plot
surfl Surface plot with colormap-based lighting
tetrameshTetrahedron mesh plot
trimeshTriangular mesh plot
triplot2-D triangular plot
trisurfTriangular surface plot

Domain Generation

Color Operations

brightenBrighten or darken colormap
caxisColor axis scaling
colorbarColorbar showing color scale
colordefSet default property values to display different color schemes
colormapSet and get current colormap
colormapeditorOpen colormap editor
ColorSpec (Color Specification)Color specification
contrastGrayscale colormap for contrast enhancement
graymon Set default figure properties for grayscale monitors
hsv2rgbConvert HSV colormap to RGB colormap
rgb2hsvConvert RGB colormap to HSV colormap
rgbplotPlot colormap
shadingSet color shading properties
spinmapSpin colormap
surfnormCompute and display 3-D surface normals
whitebgChange axes background color

View Control

Camera ViewpointOrbiting, dollying, pointing, rotating camera positions and setting fields of view
Aspect Ratio and Axis LimitsSpecifying what portions of axes to view and how to scale them
Object ManipulationPanning, rotating, and zooming views
Region of InterestInteractively identifying rectangular regions

Camera Viewpoint

camdolly Move camera position and target
cameratoolbarControl camera toolbar programmatically
camlookatPosition camera to view object or group of objects
camorbitRotate camera position around camera target
campanRotate camera target around camera position
camposSet or query camera position
camprojSet or query projection type
camrollRotate camera about view axis
camtargetSet or query location of camera target
camupSet or query camera up vector
camvaSet or query camera view angle
camzoomZoom in and out on scene
makehgtformCreate 4-by-4 transform matrix
viewViewpoint specification
viewmtxView transformation matrices

Aspect Ratio and Axis Limits

daspectSet or query axes data aspect ratio
pbaspectSet or query plot box aspect ratio
xlimSet or query x-axis limits
ylimSet or query y-axis limits
zlimSet or query z-axis limits

Object Manipulation

panPan view of graph interactively
resetReset graphics object properties to their defaults
rotateRotate object in specified direction
rotate3d Rotate 3-D view using mouse
selectmoveresizeSelect, move, resize, or copy axes and uicontrol graphics objects
zoomTurn zooming on or off or magnify by factor

Region of Interest

dragrectDrag rectangles with mouse
rbboxCreate rubberband box for area selection

Lighting

camlightCreate or move light object in camera coordinates
diffuseCalculate diffuse reflectance
lightCreate light object
lightangleCreate or position light object in spherical coordinates
lightingSpecify lighting algorithm
materialControl reflectance properties of surfaces and patches
specularCalculate specular reflectance

Transparency

alimSet or query axes alpha limits
alphaSet transparency properties for objects in current axes
alphamapSpecify figure alphamap (transparency)

Volume Visualization

coneplotPlot velocity vectors as cones in 3-D vector field
contoursliceDraw contours in volume slice planes
curlCompute curl and angular velocity of vector field
divergenceCompute divergence of vector field
flowSimple function of three variables
interpstreamspeedInterpolate stream-line vertices from flow speed
isocapsCompute isosurface end-cap geometry
isocolorsCalculate isosurface and patch colors
isonormalsCompute normals of isosurface vertices
isosurfaceExtract isosurface data from volume data
reducepatchReduce number of patch faces
reducevolumeReduce number of elements in volume data set
shrinkfacesReduce size of patch faces
sliceVolumetric slice plot
smooth3Smooth 3-D data
stream2Compute 2-D streamline data
stream3Compute 3-D streamline data
streamlinePlot streamlines from 2-D or 3-D vector data
streamparticlesPlot stream particles
streamribbon3-D stream ribbon plot from vector volume data
streamslicePlot streamlines in slice planes
streamtubeCreate 3-D stream tube plot
subvolumeExtract subset of volume data set
surf2patchConvert surface data to patch data
volumeboundsCoordinate and color limits for volume data
  


» Learn more
» Download free kit
» Get trial software

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS