Area Graph
Display the elements in a variable as one or more curves and fill the area beneath each curve
Vectors create a single curve; matrices create one curve per column.
When the variable is a matrix, the curves are stacked to show the relative contribution of each corresponding row element to the total height of the curves at any x interval.
Plotted Variables
If the first variable is a vector, its length must equal the length of the second variable and it must be monotonic.
If the first variable is a matrix, its size must equal the size of the second variable and each column must be monotonic.
More Information
See the area reference page for more detailed information about the MATLAB area function. See also length and size.