A ggplot2 theme styled to resemble old parchment and ink, giving plots
a vintage, manuscript-like appearance.
Usage
theme_cole(
base_size = 12,
base_family = "sans",
remove_grid = FALSE,
dark = FALSE,
transparent = FALSE
)Details
This theme adjusts panel backgrounds, grid lines, and text colors to
evoke the look of old parchment and handwritten ink. Works with ggplot2 plots.
Examples
library(ggplot2)
library(trashpanda)
library(palmerpenguins)
ggplot(penguins, aes(flipper_length_mm, bill_length_mm, fill = species, group = species)) +
geom_point(shape = 21) +
labs(title = "Flipper Length vs. Bill Length",
subtitle = "Lorem ipsum") +
theme_cole(remove_grid = TRUE, dark = TRUE) +
add_caption_cwb()
#> Warning: Removed 2 rows containing missing values or values outside the scale range
#> (`geom_point()`).
ggplot(penguins, aes(flipper_length_mm, bill_length_mm, fill = species, group = species)) +
geom_point(shape = 21) +
labs(title = "Flipper Length vs. Bill Length",
subtitle = "Lorem ipsum") +
theme_cole(remove_grid = FALSE) +
add_caption_cwb()
#> Warning: Removed 2 rows containing missing values or values outside the scale range
#> (`geom_point()`).
