Skip to contents

The theme used by the plotting functions of aridagri: white background, light grid, dark text and a bold left-aligned title. Add it to any ggplot2 figure.

Usage

theme_aridagri(base_size = 11)

Arguments

base_size

Base font size in points. Default 11.

Value

A ggplot2 theme object.

Examples

if (requireNamespace("ggplot2", quietly = TRUE)) {
  ggplot2::ggplot(mtcars, ggplot2::aes(wt, mpg)) +
    ggplot2::geom_point() + theme_aridagri()
}