theme_5minimal: theme_5minimal

Description Usage Arguments Examples

View source: R/themes.R

Description

theme_5minimal

Usage

1
theme_5minimal(grid = "none", bg_fill = "#F3F3F3")

Arguments

grid

(string) Grid lines. Options include any combination of "X", "Y", "x" and "y"

bg_fill

(string) Plot backgroud file colour.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
library(ggplot2)
p <- ggplot(mtcars, ggplot2::aes(cyl, mpg)) +
  geom_point() +
  annotate(
    "text", x = 4.5, y = 34,
    label = "2019", parse = TRUE
    ) +
  labs(
    title = "Example title",
    subtitle = "Sample subtitle",
    caption = "Example caption"
  )
p + theme_5minimal()

## End(Not run)

eokodie/fivethemes documentation built on Jan. 19, 2021, 10:25 p.m.