Owning Class: plots
Requires: MathScript RT Module
waterfall(z)
waterfall(z, color)
waterfall(x, y, z)
waterfall(x, y, z, color)
Plots a 3D waterfall. waterfall works like the mesh function, except that waterfall plots only the rows of x, y, and z.
| 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. |
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.
[X, Y] = meshgrid2d(0:0.1:1);
Z = sqrt(X.^2+Y.^2);
waterfall(X, Y, Z)