area
Area plot.
area(x,y)
area(x)
| Inputs |
x |
An array of real numbers. |
y |
An array of real numbers.
|
Description
If only one input is given, area displays an area plot of
the columns of the input against the sequence [1:n] where n
is the number of rows in the input.
If more than one inputs are given, area displays an area plot of
the columns of the second input against the corresponding columns
of the first input.
Example
>>x=rand(10,3)
>>area(x)
>>xlabel("X Axis")
>>ylabel("Y Axis")
>>title("Area Plot")
>>legends({"Series 1","Series 2", "Series 3"})
