Member of the plots class.
area(y)
area(y, a)
area(x, y)
area(x, y, a)
Generates a plot of filled areas.
| Name | Description |
| x | Specifies the x-coordinates of the filled areas you want to plot. x is a vector. length(x) must equal length(y). If you do not specify x, the x-axis scale equals length(y) if y is a vector or size(y, 1) if y is a matrix. |
| y | Specifies the heights of the filled areas you want to plot. y is a vector or matrix. |
| a | Specifies the lower limit in the y direction of the filled areas you want to plot. The default is 0. |
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.
y = rand(10, 5);
area(y);