Learn R Programming

tvthemes (version 1.0.0)

theme_spongeBob: theme_spongeBob

Description

Spongebob Squarepants theme, Recommended font: "Some Time Later"

Usage

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)

Arguments

text.font

text font, Default: NULL

title.font

title font, Default: NULL

legend.font

legend font, Default: NULL

title.size

size of title, Default: 18

text.size

text font size, Default: 12

subtitle.size

subtitle font size, Default:12

axis.title.size

axis title font size, Default: 14

axis.text.size

axis text font size, Default: 12

legend.title.size

legend title font size, Default: 10

legend.text.size

legend text font size, Default: 9

title.color

title color, Default: "F9FEFF"

subtitle.color

subtitle.color, Default: "F9FEFF"

text.color

text color, Default: "F9FEFF"

axis.title.color

axis title color, Default: "F9FEFF"

axis.text.color

axis text color, Default: "F9FEFF"

legend.title.color

legend title color, Default: "F9FEFF"

legend.text.color

legend text color, Default: "F9FEFF"

legend.position

legend position, Default: "bottom"

ticks

add axis ticks, Default: FALSE

Details

Spongbobify your plots even more by combining with `paintBikiniBottom()`!

See Also

[tvthemes::paintBikiniBottom]

Examples

Run this code
# 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