lehuynh_theme: Le-Huynh's ggplot2 theme

View source: R/lehuynh_theme.R

lehuynh_themeR Documentation

Le-Huynh's ggplot2 theme

Description

Le-Huynh's ggplot2 theme: white background, black axis, black text

Usage

lehuynh_theme(base_size = 11, base_family = "", ...)

Arguments

base_size

Base font size

base_family

Base font family

...

Passed to ggplot2::theme()

Value

An object as returned by ggplot2::theme()

See Also

ggplot2::theme(), ggplot2::theme_bw()

Examples


library(ggplot2)

fig <- ggplot(mtcars, aes(y = mpg, x = disp)) +
    geom_point(aes(colour = factor(cyl)))

fig

fig + lehuynh_theme()

lehuynh documentation built on June 22, 2024, 9:35 a.m.