![]() | Download Help (Windows Only) |
Owning Class: plots
Requires: MathScript RT Module
plotf_contour(f)
plotf_contour(f, r)
plotf_contour(f, a)
plotf_contour(f, r, a)
Legacy Name: ezcontour
Generates a contour plot of a function of two variables. plotf_contour plots f over the specified region.
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, plotf_contour 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. |
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | No (always ignored) |
Supported on RT targets | No |
f = 'sin(x)*cos(y)';
plotf_contour(f)
f = 'a^4+b^2-1';
r = [-2, 2, -3, 1];
plotf_contour(f, r)
Helpful
Not Helpful