Description Usage Arguments Value See Also Examples
theme_bdc_paneled
is a ggplot2
theme that produces a plot
with simple grey panels on a white background. Facet labels are displayed as
black text. Grid lines can be enabled using the grid.x
and
grid.y
parameters. By default, grid lines along the Y axis are shown.
Tick marks can be disabled using the ticks.x
and ticks.y
parameters.
1 2 3 |
base_size |
The base size for all text (default: 12) |
base_family |
The base font family for all text |
grid.x |
Show grid lines along the X axis (default: FALSE) |
grid.y |
Show grid lines along the Y axis (default: TRUE) |
gridmin.x |
Show minor grid lines along the X axis (default: FALSE) |
gridmin.y |
Show minor grid lines along the Y axis (default: FALSE) |
ticks.x |
Show tick marks along the X axis (default: TRUE) |
ticks.y |
Show tick marks along th Y axis (default: TRUE) |
pmargin |
Margin around the plot (default: 1/2 line) |
A list of ggplot theme parameters
1 2 3 4 | library(ggplot2)
p <- ggplot(movies, aes(x=year, y=budget)) + geom_point() + theme_bdc_paneled()
p
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.