scale_fill_nord {nord} | R Documentation |
#' nord fill scale for ggplot2
Description
#' nord fill scale for ggplot2
Usage
scale_fill_nord(palette = "polarnight", discrete = TRUE, alpha = 1,
reverse = FALSE, ...)
Arguments
palette |
Choose from 'nord_palettes' list |
discrete |
whether to use a discrete colour palette |
alpha |
pass through parameter to |
reverse |
If TRUE, the direction of the colours is reversed. |
... |
additional arguments to pass to scale_color_gradientn |
Examples
library(ggplot2)
library(nord)
ggplot(diamonds) +
geom_bar(aes(x = cut, fill = clarity)) +
scale_fill_nord("victory_bonds")
[Package nord version 1.0.0 Index]