Surface and Mesh Plots

Representing gridded data as surface and mesh plots

Functions

surfSurface plot
surfcContour plot under surface plot
surfacePrimitive surface plot
surflSurface plot with colormap-based lighting
surfnormSurface normals
meshMesh surface plot
meshcContour plot under mesh surface plot
meshzMesh surface plot with curtain
hiddenRemove hidden lines from mesh plot
fsurfPlot 3-D surface
fmeshPlot 3-D mesh
fimplicit3Plot 3-D implicit function
waterfallWaterfall plot
ribbonRibbon plot
contour33-D contour plot
peaksExample function of two variables
cylinderCreate cylinder
ellipsoidCreate ellipsoid
sphereCreate sphere
pcolorPseudocolor plot
surf2patchConvert surface data to patch data

Properties

Surface PropertiesChart surface appearance and behavior
Surface PropertiesPrimitive surface appearance and behavior
FunctionSurface PropertiesSurface chart appearance and behavior
ImplicitFunctionSurface PropertiesImplicit surface chart appearance and behavior
ParameterizedFunctionSurface PropertiesParameterized surface chart appearance and behavior

Topics

Creating 3-D Plots

This example shows how to create a variety of 3-D plots in MATLAB®.

Changing Surface Properties

This example shows how to get properties of a surface plot in MATLAB® and change the property values to customize your plot.

Representing Data as a Surface

You can visualize matrix data on a rectangular grid using surface plots.

How Surface Plot Data Relates to a Colormap

Change the relationship between surface plot data and the colormap.

Related Information

Featured Examples