MATLAB Function Reference Previous page   Next Page
rgbplot

Plot colormap

Syntax

Description

rgbplot(cmap) plots the three columns of cmap, where cmap is an m-by-3 colormap matrix. rgbplot draws the first column in red, the second in green, and the third in blue.

Examples

Plot the RGB values of the copper colormap.

See Also

colormap

Color Operations for related functions


Previous page  rgb2hsv ribbon Next page

© 1994-2005 The MathWorks, Inc.