scale_color_flexoki_d | R Documentation |
ggplot2
Discrete 'Flexoki' Color Scales for ggplot2
scale_color_flexoki_d(palette = "dark", which = NULL, ..., reverse = FALSE)
scale_fill_flexoki_d(palette = "dark", which = NULL, ..., reverse = FALSE)
scale_colour_flexoki_d(palette = "dark", which = NULL, ..., reverse = FALSE)
palette |
palette from |
which |
numeric indices of colors to use. |
... |
arguments passed on to |
reverse |
Should the vector be reversed? Default is |
A ggplot2::Scale
ggplot2::mpg |>
ggplot2::ggplot() +
ggplot2::geom_point(ggplot2::aes(displ, hwy, colour = class)) +
scale_color_flexoki_d(palette = 'dark')
ggplot2::mpg |>
ggplot2::ggplot() +
ggplot2::geom_point(ggplot2::aes(displ, hwy, fill = class),
pch = 23, color = 'transparent'
) +
scale_fill_flexoki_d(palette = 'light')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.