This is a qualitative scale using the official ATLAS brand colors. See palette_atlas for details.
common discrete scale parameters: name
, breaks
, labels
,
na.value
, limits
, guide
, and aesthetics
. See ggplot2::discrete_scale for
more details.
If TRUE
, scale includes black, otherwise includes gray.
Numeric vector listing the order in which the colors should be used. Default is 1:8.
Relative amount by which the scale should be darkened (for positive values) or lightened (for negative values).
Alpha transparency level of the color. Default is no transparency.
A color scale for use in plots created with ggplot2::ggplot()
.
library(ggplot2)
ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +
geom_point() + scale_color_atlas()
ggplot(iris, aes(Sepal.Length, fill = Species)) +
geom_density(alpha = 0.7) + scale_fill_atlas(order = c(1, 3, 5))