set_defaults: Set plot defaults

View source: R/defaults.R

set_defaultsR Documentation

Set plot defaults

Description

This function sets plot defaults, both geom defaults and theme defaults.

Usage

set_defaults(
  ink_colour = "#333333",
  paper_colour = NA,
  shadow_colour = "#F2F2F2",
  font = "Roboto",
  small_text = 9,
  big_text = 12
)

Arguments

ink_colour, paper_colour, shadow_colour

A character(1) for colours.

font

A character(1) with a font family name.

small_text, big_text

A numeric(1) indicating font sizes.

Value

Nothing, but sets plot defaults

Examples

NULL

teunbrand/myplotdefaults documentation built on Jan. 25, 2023, 7:23 p.m.