lehuynh_theme {lehuynh}R 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()

[Package lehuynh version 0.1.1 Index]