Color the plot area by drawing a rectangle. Default color is 'grey80'.
plotAreaColor(color = "grey80", border = NA, ...)
color | Color of the rectangle, default is set to 'grey80'. |
---|---|
border | Color of the border of the rectangle drawn, default is set to |
... | Additional arguments to be passed to |
The function calls graphics::rect()
and draw a colored rectangle (default color is set to light blue) whose dimensions are given by argument usr
of function graphics::par()
.
In graphics::par()
, argument bg
colors the entire window.
plotAreaColor()plotAreaColor(col=8, lwd=4, border=4)