3-D Visualization |
Interpreting Indexed and Truecolor Data
MATLAB interprets the patch color data in one of two ways:
The dimensions of the color data (CData
or FaceVertexCData
) determine how MATLAB interprets it. If you specify only one numeric value per patch, per face, or per vertex, then MATLAB interprets the data as indexed. If there are three numeric values per patch, face, or vertex, then MATLAB interprets the data as RGB values.
Coloring Edges with Shared Vertices | Indexed Color Data |
© 1994-2005 The MathWorks, Inc.