colormapplot (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: plots

Requires: MathScript RT Module

Syntax

colormapplot(c)

Legacy Name: rgbplot

Description

Generates a plot of a color map matrix.

Examples

Inputs

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.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine No (always ignored)
Supported on RT targets No

Examples

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)

Related Topics

colormap

文章是否对您有帮助?

没有帮助