surfacecontour (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: plots

Requires: MathScript RT Module

Syntax

surfacecontour(z)

surfacecontour(z, color)

surfacecontour(x, y, z)

surfacecontour(x, y, z, color)

Legacy Name: surfc

Description

Plots a 3D surface in conjunction with contour lines. If x, y, and z are real matrices of the same size, surfacecontour plots corresponding values of x, y, and z. If x and y are real vectors and z is a real matrix, surfacecontour plots the i-th element of x, the j-th element of y, and the ij-th element of z. If you specify only a real matrix z, surfacecontour plots the ij-th element of z against i and j.

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);
surfacecontour(X, Y, Z)

Related Topics

plotf_surfcontour
surface

文章是否对您有帮助?

没有帮助