components.ai color scales for ggplot2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | scale_color_components(
palette = "lab",
level = 8,
discrete = TRUE,
alpha = 1,
reverse = FALSE,
...
)
scale_colour_components(
palette = "lab",
level = 8,
discrete = TRUE,
alpha = 1,
reverse = FALSE,
...
)
|
palette |
Character. A palette to display; one of "bootstrap", "lab" (the default), "material", "open_color", "palx", or "tachyons". |
level |
Numeric. The "level" of the palette to be displayed. |
alpha |
Numeric. Transparency. |
reverse |
Logical. Should the order of colors be reversed? |
... |
Arguments passed to either [ggplot2::discrete_scale] or [ggplot2::scale_color_gradientn], as appropriate. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.