theme_5classic: theme_5classic

Description Usage Arguments Examples

View source: R/themes.R

Description

theme_5classic

Usage

1

Arguments

grid

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

...

Other arguments passed to ggplot methods.

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_5classic(grid = "Xx")

## End(Not run)

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