Create scale_color_ Palettes for Use in ggplot2 data viz (no interpolation)
Source:R/scale_asn.R
scale_color_asn.Rd
Create scale_color_ Palettes for Use in ggplot2 data viz (no interpolation)
Arguments
- ...
Additional arguments to ggplot2::scale_color_manual()
- palette
One of 9 color Schemes using ASN Brand Identity colors
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'