Description Usage Arguments Value
A discrete scale for the colour aesthetic in ggplot2
A discrete scale for the fill aesthetic in ggplot2
1 2 3 4 5 6 7 8 | scale_colour_disco(..., palette = "bright", alpha = NULL, direction = 1,
aesthetics = "colour")
scale_color_disco(..., palette = "bright", alpha = NULL, direction = 1,
aesthetics = "colour")
scale_fill_disco(..., palette = "bright", alpha = NULL, direction = 1,
aesthetics = "fill")
|
... |
Arguments to pass on to 'ggplot2::discrete_scale()' |
palette |
The name of the palette from which to select colors |
alpha |
Degree of opacity in [0, 1] |
direction |
Order of colors (1 = forward, -1 = reverse) |
A 'ScaleDiscrete' object that can be added to a 'ggplot' object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.