theme_wjake: Personalized ggplot2 theme

View source: R/theme-wjake.R

theme_wjakeR Documentation

Personalized ggplot2 theme

Description

Based on hrbrthemes::theme_ipsum.

Usage

theme_wjake(base_family = "Source Sans Pro", base_size = 11.5, ...)

Arguments

base_family, base_size

base font family and size

...

Additional parameters passed to hrbrthemes::theme_ipsum

Examples

## Not run: 
library(ggplot2)

# seminal scatterplot
ggplot(mtcars, aes(mpg, wt)) +
  geom_point() +
  labs(x = "Fuel efficiency (mpg)", y = "Weight (tons)",
       title = "Seminal ggplot2 scatterplot example",
       subtitle = "A plot that is only useful for demonstration purposes",
       caption = "Brought to you by the letter 'g'") +
  theme_wjake()

## End(Not run)

wjakethompson/wjake documentation built on June 29, 2024, 7:47 a.m.