theme_simple: Personal ggplot theme

View source: R/theme_simple.R

theme_simpleR Documentation

Personal ggplot theme

Description

A precise, clean and minimal theme for ggplot2. Influenced by @hrbrmstr and @jkaupp.

Usage

theme_simple(
  base_family = "Lato",
  base_size = 18,
  strip_text_family = "Lato",
  strip_text_size = 18,
  plot_title_family = "Lato Bold",
  plot_title_size = 22,
  plot_title_margin = 10,
  subtitle_family = "Lato",
  subtitle_size = 18,
  subtitle_margin = 10,
  caption_family = "Lato",
  caption_size = 14,
  caption_margin = 10,
  axis_title_family = "Lato",
  axis_title_size = 18,
  axis_title_just = "mm",
  dark = FALSE,
  grid = TRUE,
  axis = FALSE,
  ticks = FALSE,
  markdown = TRUE
)

Arguments

base_family

Base font family

base_size

Base font size

strip_text_family

Facet label font family

strip_text_size

Facet label text size

plot_title_family

Plot tilte family

plot_title_size

Plot title font size

plot_title_margin

Plot title margin

subtitle_family

Plot subtitle family

subtitle_size

Plot subtitle size

subtitle_margin

Plot subtitle margin

caption_family

Plot caption family

caption_size

Plot caption size

caption_margin

Plot caption margin

axis_title_family

Axis title font family

axis_title_size

Axis title font size

axis_title_just

Axis title font justification blmcrt

dark

Dark mode TRUE, FALSE

grid

Panel grid (TRUE, FALSE, or a combination of X, x, Y, y)

axis

Axis TRUE, FALSE,


albinomatheus/toolbox documentation built on June 13, 2024, 5:42 a.m.