theme_eedark: [ggplot2] theme based loosely on theme_ipsum from hrbrthemes.

View source: R/theme-eedark.R

theme_eedarkR Documentation

[ggplot2] theme based loosely on theme_ipsum from hrbrthemes.

Description

[ggplot2] theme based loosely on theme_ipsum from hrbrthemes.

Usage

theme_eedark(
  size = 10,
  base_font = "sans",
  base_color = "#cfd8dc",
  accent_color = "#717786",
  faceted = FALSE
)

Arguments

size

base font size

base_font

base font family

base_color

color of text and ticks

accent_color

color of grid lines

faceted

logical. TRUE will reduce margins to make facets larger

See Also

link{theme_ee}

Examples

## Not run: 
library(ggplot2)
library(dplyr)

#basic scatterplot
ggplot(mtcars, aes(mpg, wt)) +
  geom_point() +
  labs(x = "miles per gallon",
       y = "weight",
       title = "Scatterplot example",
       subtitle = "this is a subtitle",
       caption = "by bret bretterson") +
 theme_eedark()

## End(Not run)


ekholme/eemisc documentation built on May 30, 2022, 6:34 p.m.