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

meshc (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the plots class.

Syntax

meshc(z)

meshc(z, color)

meshc(x, y, z)

meshc(x, y, z, color)

Description

Plots a 3D mesh surface in conjunction with contour lines. If x, y, and z are real matrices of the same size, meshc plots corresponding values of x, y, and z. If x and y are real vectors and z is a real matrix, meshc 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, meshc plots the ij-th element of z against i and j.

Details

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

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

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

Related Topics

ezmeshc
mesh


Resources


 

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