Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

colormapplot (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

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


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit