| theme_ntl | R Documentation |
A transparent-background theme_minimal() base tuned for NTL data: tight
grid, bold title, and optional overrides via .... Ink colour is a
single equal-contrast grey (#767676, ~4.5:1 against both pure black and
pure white) so the same rendered figure reads on light and dark pages
alike, since pkgdown bakes each figure to one static PNG at build time.
theme_ntl(base_size = 12, ...)
base_size |
Base font size. Default |
... |
Additional |
A ggplot2 theme object.
library(ggplot2)
ggplot(data.frame(year = 2012:2020, mean_radiance = 1:9), aes(year, mean_radiance)) +
geom_line() +
theme_ntl()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.