theme_hildaNight | R Documentation |
Hilda theme
theme_hildaNight(
text.font = "Chelsea Market",
title.font = "Chelsea Market",
legend.font = "Chelsea Market",
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: "Chelsea Market" |
title.font |
title font, Default: "Chelsea Market" |
legend.font |
legend font, Default: "Chelsea Market" |
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 |
library(ggplot2)
ggplot(airquality, aes(x = Day, y = Temp,
group = as.factor(Month), color = as.factor(Month))) +
geom_point(size = 2.5) +
scale_color_hilda(palette = "Night") +
theme_hildaNight(text.font = "Times", title.font = "Times",
legend.font = "Times")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.