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

image (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the plots class.

Syntax

image(z)

image(x, y, z)

Description

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

Details

Examples

Inputs

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

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] = meshgrid(0:0.1:1);
Z = sqrt(X.^2 + Y.^2);
image(t, t, Z)

Related Topics

colormap


Resources


 

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