Member of the plots class.
fplot(f, r)
fplot(f, r, attributes)
Plots a function over the specified region.
| Name | Description | ||||||||||||||||||||||||||||||||||
| f | Specifies the function you want to plot. f is a string that represents a function of a single variable. fplot plots y = f(x). | ||||||||||||||||||||||||||||||||||
| 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 [xmin, xmax]. | ||||||||||||||||||||||||||||||||||
| attributes | Specifies valid plot attributes. Order the plot attributes by color, point style, and line style. For example, 'bo-' specifies that the plot is blue, marks points with circles, and uses solid lines. attributes is a string that accepts a combination of the following values.
|
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)';
r = [-pi, pi];
fplot(f, r)