powered by
Displays a colored rectangle over the entire area of a plot
plot_bg(col="lightgray")
The color of the background
nil
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.
# NOT RUN { barp(1:5,do.first="plot_bg()",col=1:5) # }
Run the code above in your browser using DataLab