a_dark_theme: All of the themes follow a similar pattern mainly just...

Description Usage Arguments

View source: R/themes.R

Description

The main two are a_plex_theme / a_dark_theme which is a dark version of a_plex_theme These two use IBM Plex Mono for title text and IBM Plex Sans for the rest

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
a_dark_theme(base_family = "IBM Plex Sans", base_size = 9,
  plot_title_family = "IBM Plex Mono", plot_title_size = 20,
  plot_title_face = "bold", subtitle_family = base_family,
  subtitle_size = 10, subtitle_face = "plain",
  strip_text_family = base_family, strip_text_size = 10,
  strip_text_face = "plain", caption_family = base_family,
  caption_size = 9, caption_face = "plain",
  axis_text_size = base_size, axis_title_family = plot_title_family,
  axis_title_size = 10, axis_title_face = "plain",
  grid_col = "#555555", shade = "#1d1d1d", grid = TRUE,
  noaxis = FALSE, emphasis = "xy", rotate_x = FALSE)

Arguments

base_family, base_size

base font family and size

plot_title_family, plot_title_face, plot_title_size

plot title family, face, size

subtitle_family, subtitle_face, subtitle_size

plot subtitle family, face and size

strip_text_family, strip_text_face, strip_text_size

facet label font family, face and size

caption_family, caption_face, caption_size

plot caption family, face, size

axis_title_family, axis_title_face, axis_title_size

axis title font family, face and size

grid_col, axis_col

grid & axis colors; both default to #cccccc #' @param shade is a parameter to change the plot background color defaults to #1d1d1d

grid

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

noaxis

include/exclude axis (TRUE, FALSE, or a combination of X, x, Y, y)

emphasis

bold one axis title of both (a combination of 'x','y' or 'xy')

rotate_x

TRUE/FAlSE to rotate axis text


awhstin/awtools documentation built on Oct. 12, 2019, 6:54 a.m.