3-D Visualization Previous page   Next Page

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.


Previous page  Coloring Edges with Shared Vertices Indexed Color Data Next page

© 1994-2005 The MathWorks, Inc.