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

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

ezcontourf(f)

ezcontourf(f, r)

ezcontourf(f, a)

ezcontourf(f, r, a)

Description

Generates a contour plot with intensity shading of a function of two variables. ezcontourf plots f over the specified region.

Details

Examples

Inputs

Name Description
f Specifies the function you want to plot. f is a string that represents a function of two variables. If f is a single expression of two variables x and y, ezcontourf plots the contour of z = f(x, y).
r Specifies the region of the plot. r is a four-element real vector or a two-element real vector. If r is a four-element vector, the r values represent [xmin, xmax, ymin, ymax]. If r is a two-element vector, the r values represent the square [xmin, xmax, xmin, xmax]. The default is [-2*pi, 2*pi, -2*pi, 2*pi].
a Specifies the grid size. a is a positive integer. LabVIEW uses a grid of a-by-a points. The default is 60.

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

f = 'sin(x)*cos(y)';
ezcontourf(f)

f = 'a^4+b^2-1';
r = [-2, 2, -3, 1];
ezcontourf(f, r)

Related Topics

contourf
ezcontour


Resources


 

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