Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

colormapplot (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: plots

Requires: MathScript RT Module

Syntax

colormapplot(c)

Legacy Name: rgbplot

Description

Generates a plot of a color map matrix.

Details

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

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.

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