theme_avatar {tvthemes} | R Documentation |
Avatar: The Last Airbender theme
Description
Avatar: The Last Airbender theme, Recommended font: "Slayer"
Usage
theme_avatar(
text.font = NULL,
title.font = NULL,
legend.font = NULL,
title.size = 14,
text.size = 10,
subtitle.size = 12,
axis.title.size = 10,
axis.text.size = 8,
legend.title.size = 10,
legend.text.size = 8,
title.color = NULL,
subtitle.color = "grey20",
text.color = NULL,
axis.title.color = "grey20",
axis.text.color = "grey20",
legend.title.color = "grey20",
legend.text.color = "grey20",
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 font size, Default: 14 |
text.size |
text font size, Default: 10 |
subtitle.size |
subtitle font size, Default: 12 |
axis.title.size |
axis title font size, Default: 10 |
axis.text.size |
axis text font size, Default: 8 |
legend.title.size |
legend title font size, Default: 10 |
legend.text.size |
legend text font size, Default: 8 |
title.color |
title color, Default: NULL |
subtitle.color |
subtitle.color, Default: "grey20" |
text.color |
text color, Default: NULL |
axis.title.color |
axis title color, Default: "grey20" |
axis.text.color |
axis text color, Default: "grey20" |
legend.title.color |
legend title color, Default: "grey20" |
legend.text.color |
legend text color, Default: "grey20" |
legend.position |
legend position, Default: "bottom" |
ticks |
add axis ticks, Default: FALSE |
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_avatar() +
theme_avatar()
[Package tvthemes version 1.3.3 Index]