The Simpsons theme, Recommended font: "Akbar"
theme_simpsons(
text.font = NULL,
title.font = NULL,
legend.font = NULL,
title.size = 18,
text.size = 14,
subtitle.size = 12,
axis.title.size = 14,
axis.text.size = 10,
legend.title.size = 10,
legend.text.size = 9,
title.color = "#FFD235",
subtitle.color = "#fee8c8",
text.color = "#fee8c8",
axis.title.color = "#fee8c8",
axis.text.color = "#fee8c8",
legend.title.color = "#ffffff",
legend.text.color = "#ffffff",
legend.position = "bottom",
ticks = FALSE
)
text font, Default: NULL
title font, Default: NULL
legend font, Default: NULL
title font size, Default: 18
text font size, Default: 14
subtitle font size, Default: 12
axis title font size, Default: 14
axis text font size, Default: 10
legend title font size, Default: 10
legend text font size, Default: 9
title color, Default: "#FFD235"
subtitle.color, Default: "#fee8c8"
text color, Default: "#fee8c8"
axis title color, Default: "#fee8c8"
axis text color, Default: "#fee8c8"
legend title color, Default: "#ffffff"
legend text color, Default: "#ffffff"
legend position, Default: "bottom"
add axis ticks, Default: FALSE
In part inspired by `@nathancunn`'s blog posts on The Simpsons!
[ggplot2::theme]
library(ggplot2)
ggplot(airquality, aes(x = Day, y = Temp,
group = as.factor(Month), color = as.factor(Month))) +
geom_point(size = 2.5) +
scale_color_simpsons() +
theme_simpsons()