Member of the plots class.
ezplot(f)
ezplot(f, r)
ezplot(fx, fy)
ezplot(fx, fy, r)
Plots a function over the specified region.
| 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]. |
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.
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)