scale_color_nord {nord}R Documentation

nord color scale for ggplot2

Description

nord color scale for ggplot2

Usage

scale_color_nord(palette = "polarnight", discrete = TRUE, alpha = 1,
  reverse = FALSE, ...)

scale_colour_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

transparency

reverse

logical, Reverse the order of the colours?

...

additional arguments to pass to scale_color_gradientn

Examples

library(ggplot2)
library(nord)

ggplot(diamonds) +
 geom_point(aes(x = carat, y = price, color = cut)) +
 scale_color_nord("lumina")


[Package nord version 1.0.0 Index]