Game of Thrones Inspired Theme
Arguments
- gameofthrones_font
should
theme_gameofthrones
use Google Font's Cinzel? Default isTRUE
.- ...
additional parameters to pass to
ggplot2::theme()
Examples
library(ggplot2)
ggplot(data = data.frame(x = rnorm(50, 0, 1), y = rnorm(50,0,1)), aes(x = x, y = y)) +
geom_smooth(method = 'lm') +
geom_point() +
labs(title = 'Game of Thrones Scatter Plot') +
theme_gameofthrones()
#> `geom_smooth()` using formula = 'y ~ x'
ggplot(mpg, aes(cty)) +
geom_density(aes(fill=factor(cyl)), alpha=0.8) +
labs(title="Density plot",
subtitle="City Mileage Grouped by Number of cylinders",
caption="Source: mpg",
x="City Mileage",
fill="# Cylinders") +
theme_gameofthrones()