theme_rickAndMorty: Rick & Morty theme

View source: R/theme_rickandmorty.R

theme_rickAndMortyR Documentation

Rick & Morty theme

Description

Rick & Morty theme, Recommended font: "Get Schwifty"

Usage

theme_rickAndMorty(
  text.font = NULL,
  title.font = NULL,
  legend.font = NULL,
  title.size = 20,
  text.size = 12,
  subtitle.size = 14,
  axis.title.size = 14,
  axis.text.size = 10,
  legend.title.size = 10,
  legend.text.size = 9,
  title.color = NULL,
  subtitle.color = NULL,
  text.color = NULL,
  axis.title.color = NULL,
  axis.text.color = "black",
  legend.title.color = NULL,
  legend.text.color = NULL,
  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

title size, Default: 20

text.size

text font size, Default: 12

subtitle.size

subtitle font size, Default: 14

axis.title.size

axis title font size, Default: 14

axis.text.size

axis text font size, Default: 10

legend.title.size

legend title font size, Default: 10

legend.text.size

legend text font size, Default: 9

title.color

title color, Default: NULL

subtitle.color

subtitle.color, Default: NULL

text.color

text color, Default: NULL

axis.title.color

axis title color, Default: NULL

axis.text.color

axis text color, Default: "black"

legend.title.color

legend title color, Default: NULL

legend.text.color

legend text color, Default: NULL

legend.position

legend position, Default: "bottom"

ticks

add axis ticks, Default: FALSE

Details

Actual font is based on Justin Roiland's handwriting!

See Also

[ggplot2::theme]

Examples

library(ggplot2)

ggplot(airquality, aes(x = Day, y = Temp,
     group = as.factor(Month), color = as.factor(Month))) +
     geom_point(size = 2.5) +
     scale_color_rickAndMorty() +
     theme_rickAndMorty()

tvthemes documentation built on Nov. 18, 2022, 1:08 a.m.