Owning Class: plots
Requires: MathScript RT Module
colormapplot(c)
Legacy Name: rgbplot
Generates a plot of a color map matrix.
| Name | Description |
|---|---|
| c | Specifies a color map matrix. c must be a matrix with three columns. The first column specifies the intensity of the red component of the color. The second column specifies the intensity of the green component of the color, and the third column specifies the intensity of the blue component of the color. |
This function is not supported in the LabVIEW Run-Time Engine. This function can remain in your scripts when you build a stand-alone application or shared library, but the LabVIEW Run-Time Engine does not execute this function.
t = 0:0.1:1;
[X, Y] = meshgrid2d(t);
Z = sqrt(X.^2 + Y.^2);
image(t, t, Z)
c = [0, 0, 0; 1, 0.5, 0.5];
colormap(c)
figure
colormapplot(c)