Documentation Center

  • Trials
  • Product Updates

rgbplot

Plot colormap

Syntax

rgbplot(cmap)

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

expand all

Copper Colormap

Plot the RGB values of the copper colormap.

rgbplot(copper)

Summer Colormap

Plot the RGB values of the summer colormap.

rgbplot(summer)

See Also

Was this topic helpful?