ggtheme_dark: 'rtemis' 'ggplot2' dark theme

View source: R/ggtheme_dark.R

ggtheme_darkR Documentation

rtemis ggplot2 dark theme

Description

rtemis ggplot2 dark theme

Usage

ggtheme_dark(
  base_size = 14,
  base_family = "Helvetica Neue",
  base_line_size = base_size/22,
  base_rect_size = base_size/22,
  axis.text.size.rel = 1,
  legend.key.fill = NA,
  legend.text.size.rel = 1,
  legend.position = "right",
  strip.background.fill = "gray25"
)

Arguments

base_size

Float: Base font size. Default = 14

base_family

Character: Font family. Default = "Helvetica Neue"

base_line_size

Float: Line size. Default = base_size/22

base_rect_size

Float: Size for rect elements. Default = base_size/22

axis.text.size.rel

Float: Relative size for axis text. Default = 1

legend.key.fill

Color: Fill color for legend. Default = NA (no color)

legend.text.size.rel

Float: Relative size for legend text. Default = 1

legend.position

Character: Legend position, "top", "bottom", "right", "left" Default = "right"

strip.background.fill

Color: Fill color from facet labels. Default = "gray25"

Author(s)

E.D. Gennatas

Examples

## Not run: 
(p <- ggplot(iris, aes(Sepal.Length, Petal.Length, color = Species)) +
  geom_point() +
  ggtheme_light())

## End(Not run)

egenn/rtemis documentation built on Dec. 17, 2024, 6:16 p.m.