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

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

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 j-th element of x, the i-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 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.

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

Related Topics

colormap


 

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