View source: R/theme_brooklyn99.R
theme_brooklyn99 | R Documentation |
Brooklyn Nine-Nine theme, Recommended font: "Roboto Condensed" (title), "Calibri Light" (other text)
theme_brooklyn99(
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 = 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 |
text font, Default: NULL |
title.font |
title font, Default: NULL |
legend.font |
legend font, Default: NULL |
title.size |
title font size, Default: 18 |
text.size |
text font size, Default: 14 |
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 |
Actual font: Variants of 'Univers'
[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_brooklyn99() +
theme_brooklyn99()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.