View source: R/plotAreaColor.R
plotAreaColor | R Documentation |
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.
#Example 1: plot0() plotAreaColor() #Example 2: plot0() plotAreaColor(col=8, lwd=4, border=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.