theme_alex: Custom theme for ggplot

Description Usage Examples

View source: R/customfunctions.R

Description

Dark theme built off of theme_void.

Usage

1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
mtcars %>% ggplot(aes(x = hp, y = mpg, color = as.factor(cyl))) +
  geom_line(size = 1.5, alpha = 0.5) +
  scale_color_alex() +
  theme_alex() +
  xlab("Horsepower") +
  ylab("Miles per Gallon") +
  labs(
    title = "Miles per Gallon vs Horsepower"
  )

Will format the plot with a customized theme.

alexkinkelaar/alex documentation built on Dec. 19, 2021, 12:32 a.m.