Description Usage Arguments Examples
Scale Measure Color
1 2 | scale_color_measure(palette = "main", discrete = TRUE,
reverse = FALSE, ...)
|
palette |
Options: main, primary, secondary, tertiary, accent, green, gray, dark, mixed |
discrete |
|
reverse |
|
... |
1 2 3 | ggplot(iris, aes(Sepal.Width, Sepal.Length, color = Species)) +
geom_point(size = 4) +
scale_color_measure(palette = "tertiary", reverse = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.