Spongebob Squarepants theme, Recommended font: "Some Time Later"
theme_spongeBob(text.font = NULL, title.font = NULL,
legend.font = NULL, title.size = 18, text.size = 12,
subtitle.size = 12, axis.title.size = 14, axis.text.size = 12,
legend.title.size = 10, legend.text.size = 9,
title.color = "#F9FEFF", subtitle.color = "#F9FEFF",
text.color = "#F9FEFF", axis.title.color = "#F9FEFF",
axis.text.color = "#F9FEFF", legend.title.color = "#F9FEFF",
legend.text.color = "#F9FEFF", legend.position = "bottom",
ticks = FALSE)
text font, Default: NULL
title font, Default: NULL
legend font, Default: NULL
size of title, Default: 18
text font size, Default: 12
subtitle font size, Default:12
axis title font size, Default: 14
axis text font size, Default: 12
legend title font size, Default: 10
legend text font size, Default: 9
title color, Default: "F9FEFF"
subtitle.color, Default: "F9FEFF"
text color, Default: "F9FEFF"
axis title color, Default: "F9FEFF"
axis text color, Default: "F9FEFF"
legend title color, Default: "F9FEFF"
legend text color, Default: "F9FEFF"
legend position, Default: "bottom"
add axis ticks, Default: FALSE
Spongbobify your plots even more by combining with `paintBikiniBottom()`!
[tvthemes::paintBikiniBottom]
# NOT RUN {
library(ggplot2)
ggplot(airquality, aes(x = Day, y = Temp,
group = as.factor(Month), color = as.factor(Month))) +
geom_point(size = 2.5) +
scale_color_spongeBob() +
theme_spongeBob()
# }
Run the code above in your browser using DataLab