Skip to contents

A clean, publication-ready ggplot2 theme tuned for facetted plots, with phip_palette as the default discrete colour and fill palette.

Usage

theme_phip(base_size = 14, base_family = "sans")

Arguments

base_size

Base font size.

base_family

Base font family (default "sans").

Value

A ggplot2 theme object.

See also

Examples

if (FALSE) { # \dontrun{
ggplot2::ggplot(iris, ggplot2::aes(Sepal.Length, Sepal.Width, colour = Species)) +
  ggplot2::geom_point() +
  scale_colour_phip() +
  theme_phip()
} # }