The plotarea (or areaplot) command takes as argument a polygon.
plotarea draws the filled polygon, with the signed area.
(The area is positive if the polygon is counterclockwise, negative if
it is clockwise.)
Input:
Output:
Input:
Output:
The fill color can be changed as a local feature (see
11.3.2) and the position of the legend can be
changed (see 11.3.3).
Input:
Output: