### 11.14.5 The graphical representation of the area of a polygon: plotareaareaplot

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:

plotarea(polygon(1,(1+i)/2,1+i)

Output:

Input:

plotarea(polygon(1,1+i,(1+i)/2)

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:

plotarea(polygon(1,1+i,(1+i)/2),display=red+quadrant2)

Output: