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

More Information

See the area reference page for more detailed information about the MATLAB area function. See also length and size.