plot_bg: Add a background color to a plot

Description Usage Arguments Details Value Author(s) Examples

View source: R/plot_bg.R

Description

Displays a colored rectangle over the entire area of a plot

Usage

1
plot_bg(col="lightgray")

Arguments

col

The color of the background

Details

plot_bg is probably only useful when part of the do.first argument in another plot function to add a background color to the plot.

Value

nil

Author(s)

Jim Lemon

Examples

1
 barp(1:5,do.first="plot_bg()",col=1:5)

plotrix documentation built on May 19, 2017, 4:17 p.m.

Search within the plotrix package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.