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

image (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



image(x, y, z)


Plots an image. image(z) plots the (i, j)-th element of z against i and j. image(x, y, z) plots the j-th element of x, the i-th element of y, and the (i, j)-th element of z.



Name Description
x Specifies a real vector. length(x) must equal the number of columns in z.
y Specifies a real vector. length(y) must equal the number of rows in z.
z Specifies a real matrix. Each element in z represents a color in the image.


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


t = 0:0.1:1;
[X, Y] = meshgrid2d(0:0.1:1);
Z = sqrt(X.^2 + Y.^2);
image(t, t, Z)

Related Topics



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