rgbplot
Plot colormap.
📝Syntax
rgbplot(cmap)
📥Input Arguments
Parameter Description
cmap Colormap: three-column matrix of RGB triplets .
📄Description

rgbplot(cmap) plots the R (red), G (green), and B (blue) intensities of the specified cmap colormap.

💡Examples
f  = figure();
colormap = [0.2 0.1 0.5;
    0.1 0.5 0.8;
    0.2 0.7 0.6;
    0.8 0.7 0.3;
    0.9 1 0];
rgbplot(colormap);
Example illustration
🔗See Also
plotcolormap
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub