Skip to contents

Create scale_color_ Palettes for Use in ggplot2 data viz (no interpolation)

Usage

scale_color_asn(..., palette = "primary")

Arguments

...

Additional arguments to ggplot2::scale_color_manual()

palette

One of 9 color Schemes using ASN Brand Identity colors

Value

scale_color_asn() function

Examples

library(ggplot2)
ggplot(
  iris,
  aes(
    x = Sepal.Length,
    y = Petal.Length,
    color = Species
   )
 ) +
 geom_point() +
 geom_smooth(
   method = "lm",
   se = FALSE
 ) +
 scale_color_asn(palette = "dark_mode") +
 theme(
   panel.background = element_rect(color = "#000000", fill = "#000000"),
   plot.background = element_rect(color = "#000000", fill = "#000000"),
   panel.grid = element_blank()
   )
#> `geom_smooth()` using formula = 'y ~ x'