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

waterfall(z)

waterfall(z, color)

waterfall(x, y, z)

waterfall(x, y, z, color)

Description

Plots a 3D waterfall. waterfall works like the mesh function, except that waterfall plots only the rows of x, y, and z.

Examples

Inputs

Name Description
x Specifies a real vector or matrix.
y Specifies a real vector or matrix.
z Specifies a real matrix.
color Specifies a valid color attribute for the plot. color is a real matrix of the same size as z. The default is the values in z.

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

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

Related Topics

mesh
meshgrid2d
surface

WAS THIS ARTICLE HELPFUL?

Not Helpful