Skip to contents

A quiet theme built on ggplot2::theme_minimal(): recessive hairline grid, no minor grid or tick marks, left-aligned titles, muted axis text, and the legend above the plot. Every plot() method in the package applies it, and it can be added to any other ggplot.

Usage

lamp_theme(base_size = 11)

Arguments

base_size

Base font size in points.

Value

A ggplot2 theme object.

See also

Other presentation: lamp_colours(), lamp_map(), lamp_table()

Examples

library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
  geom_point(colour = lamp_colours()[["series"]]) +
  labs(title = "Weight and fuel economy") +
  lamp_theme()