Graphics    

Controlling How MATLAB Uses Color

Figure properties control the way MATLAB uses your computer's color resources. These properties influence both the speed of drawing and the accuracy of the colors used to display graphics. The properties discussed in this section include those listed in the following table.

Property
Purpose
Colormap
The figure colormap. An n-by-3 array of RGB values.
FixedColors
Specific colors used by the figure that are not in the colormap.
MinColormap
The minimum number of system color table slots MATLAB uses for the figure colormap.
ShareColors
The property that determines whether MATLAB shares colors with other figure colormaps in the system color table.
Dithermap
A predefined colormap for displaying truecolor graphics objects on a pseudocolor system.
DithermapMode
The property that determines whether MATLAB uses the current dither colormap or creates one based on the colors specified for existing graphics objects.


  Example - Specifying Figure Position Indexed Color Displays