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

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

ezplot(f)

ezplot(f, r)

ezplot(fx, fy)

ezplot(fx, fy, r)

Description

Plots a function over the specified region.

Details

Examples

Inputs

Name Description
f, fx, fy Specifies the function you want to plot. f is a string that represents a function of one or two variables. If f is an expression of a single variable x, ezplot plots y = f(x). If f is an expression of two variables x and y, ezplot plots f(x, y) = 0. If you specify fx and fy, ezplot plots fx and fy as the parametrically defined planar curve (fx(t), fy(t)).
r Specifies the region of the plot. If f is a parametrically defined planar curve, the default is [0, 2*pi]. Otherwise, the default is [-2*pi, 2*pi].

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)';
ezplot(f)

fx = 'sin(sinc(t*t))*cos(t)';
fy = 'sin(sinc(t*t))*sin(t)';
ezplot(fx, fy)

f = 'x^2+y^2-1';
r = [-1.2, 1.2, -0.8, 0.8];
ezplot(f, r)

Related Topics

ezplot3
ezsurf
plot


Resources


 

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