Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

rgbplot

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

collapse all

Plot the RGB values of the copper colormap.

rgbplot(copper)

Plot the RGB values of the summer colormap.

rgbplot(summer)

See Also

Introduced before R2006a


Was this topic helpful?