theme_bdc_paneled: Clean, borderless theme with grey panels and axis ticks

Description Usage Arguments Value See Also Examples

Description

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.

Usage

1
2
3
theme_bdc_paneled(base_size = 12, base_family = "", grid.x = FALSE,
  grid.y = TRUE, gridmin.x = FALSE, gridmin.y = FALSE, ticks.x = TRUE,
  ticks.y = TRUE, pmargin = base_size/2)

Arguments

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)

Value

A list of ggplot theme parameters

See Also

theme

Examples

1
2
3
4
library(ggplot2)

p <- ggplot(movies, aes(x=year, y=budget)) + geom_point() + theme_bdc_paneled()
p

briandconnelly/ggplot2bdc documentation built on May 13, 2019, 5:13 a.m.