theme_nycc | R Documentation |
This is a ggplot2
theme that uses Council fonts and style guidelines
to produce plots.
theme_nycc(..., print = FALSE, facet = FALSE)
... |
Further arguments passed to |
print |
Boolean. Changes fonts to Times New Roman to match printed documents produced by committees. |
## Not run:
library(ggplot2)
library(councildown)
data.frame(x = rnorm(20), y = rnorm(20), z = c("a", "b")) %>%
ggplot(aes(x, y, color = z)) +
geom_point() +
labs(title = "Test",
subtitle = "Test",
caption = "Test",
color = "Legend",
x = "Test a",
y = "Test b") +
facet_wrap(~z) +
theme_nycc(facet=TRUE) +
scale_color_nycc()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.