3-D Visualization Previous page   Next Page

Coloring Mesh and Surface Plots

You can enhance the information content of surface plots by controlling the way MATLAB applies color to these plots. MATLAB can map particular data values to colors specified explicitly or can map the entire range of data to a predefined range of colors called a colormap.

Coloring Techniques

There are three coloring techniques:

Types of Color Data

The type of color data you specify (i.e., single values or RGB triplets) determines how MATLAB interprets it. When you create a surface plot, you can


Previous page  Hidden Line Removal Colormaps Next page

© 1994-2005 The MathWorks, Inc.