Patch: Data
- XData - X-coordinates of the patch vertices. (
XData
)
- YData - Y-coordinates of the patch vertices. (
YData
)
- ZData - Z-coordinates of the patch vertices.(
ZData
)
- CData - Color data for each vertex. You can specify color for each vertex, each face, or a single color for the entire patch.(
CData
)
- Scale to figure colormap - Interpretation of color data. (
CDataMapping
)
- Scaled (checked) - transform the color data to span the colormap, linearly mapping data values to colors.
- Direct (unchecked) - use the color data as indices directly into the colormap.
- Colormaps - Select a figure colormap. Also brighten or darken the current colormap (
brighten
)
See Specifying Patch Coloring for information on patch color data.
- Faces - A matrix specifying which vertices to connect to form each patch face. Each row in the Faces matrix specifies one face in the patch by referencing rows in the Vertices matrix. (
Faces
)
- Vertices - An m-by-3 matrix that defines the vertices of the patch, where each row contains the x-, y-, and z-coordinate of the vertex. (
Vertices
)
- F/V Color - Color data for patches defined by Faces and Vertices. (
FaceVertexCData
)
See Multi-Faceted Patches for an example that creates and colors a patch.