Skip to content

3D Visualization

Built-in functions › Graphics › 3D Visualization

49 functions in this category.

FunctionWhat it does
boxplotBox-and-whisker plot.
camdollyTranslate the camera (and target).
camlightAdd a camera-following light source.
camlookatAim the camera at an object or point.
camorbitOrbit the camera around the target.
campanPan (rotate) the camera left/right or up/down.
camposGet or set the camera position.
camprojGet or set the camera projection mode.
camrollRoll the camera (rotate around the view axis).
camtargetGet or set the camera target (point the camera looks at).
camupGet or set the camera up vector.
camvaGet or set the camera view angle (zoom).
camzoomZoom the camera in or out.
colorbarAdd a color-scale legend to the figure.
colormapGet or set the colormap of the current figure.
cylinderGenerate coordinate matrices for a unit cylinder.
daspectGet or set the data aspect ratio.
drawnowForce pending graphics updates to display.
heatmapHeatmap visualization with row/column labels.
layoutaxesConfigure the axes layout on a chart sheet.
legendAdd a legend to the chart.
lightAdd a directional or point light source to a 3D scene.
lightangleAdd or position a light source by azimuth and elevation.
lightingSet the lighting model on a surface.
materialSet surface material reflectance properties.
mesh3D mesh (wireframe) plot.
meshcMesh plot with contour lines on the floor.
meshgridGenerate X, Y coordinate matrices for grid evaluation.
meshzMesh plot with curtain (skirt) at the boundary.
moveaxesMove axes to a new position on the chart sheet.
pbaspectGet or set the plot box aspect ratio.
pcolorPseudocolor plot — flat 2D colored grid.
pcolor33D pseudocolor plot.
peaksBuilt-in 2D test surface (Gaussian-mixture peaks).
ribbon3D ribbon plot — each column rendered as a 3D ribbon.
rotateRotate a graphical object.
shadingSet the surface-edge rendering style.
sphereGenerate coordinate matrices for a unit sphere.
splitaxesSplit a multi-graph axes into overlay axes (one per graph).
stem33D stem plot — vertical lines from a baseline plane to each (x, y, z).
surf3D surface plot with colored faces.
surfaceLow-level 3D surface primitive.
surfc3D surface plot with contour lines projected on the floor.
surfl3D surface plot with lighting.
surfnormSurface normal vectors at grid points.
viewSet or query the camera view angle.
violinplotViolin plot — box plot with a kernel-density-estimate envelope.
waterfall3D waterfall plot — independent line traces along one dimension.
yysplitSplit an axes by adding a secondary y-axis.