Owning Class: plots
Requires: MathScript RT Module
contour(z)
contour(z, n)
contour(z, h)
contour(x, y, z)
contour(x, y, z, n)
contour(x, y, z, h)
Generates a contour plot.
| Name | Description |
|---|---|
| x | Specifies the surface from z in relation to the x-plane. x is a matrix. size(x) must equal size(z). |
| y | Specifies the surface from z in relation to the y-plane. y is a matrix. size(y) must equal size(z). |
| z | Specifies the height of the surface in relation to the z-plane. z is a matrix. |
| n | Specifies the number of contour lines you want to plot. |
| h | Specifies the height levels. h is a vector. length(h) must equal the number of contour lines you want to plot. |
This function is not supported in the LabVIEW Run-Time Engine if you request an output from the function. Either do not request an output or remove this function from scripts before you build a stand-alone application or shared library.
z = peakfcn2d(50);
contour(z)