agg_bgshading.Rd
Add background shading
agg_bgshading(x1 = NA, y1 = NA, x2 = NA, y2 = NA, colour = RBA["Grey2"], panel, color)
x1 | The bottom left x coordinate (omit to have the shading automatically snap to the edge of the panel) |
---|---|
y1 | The bottom left y coordinate (omit to have the shading automatically snap to the edge of the panel) |
x2 | The top right x coordinate (omit to have the shading automatically snap to the edge of the panel) |
y2 | The top right y coordinate (omit to have the shading automatically snap to the edge of the panel) |
colour | (optional) The colour of the AB line (default grey) |
panel | Which panel should the background shading be placed on? You can specify a vector of panels (e.g. `panel = c("1","3")`) to apply the shading to multiple panels at once. |
color | (Deprecated; use colour instead) The colour of the AB line (default grey) |
vignette("plotting-options", package = "arphit")
for a detailed description of
all the plotting options
#>#>