scale_color_flexoki_light_spectrum | R Documentation |
Creates a sequential color gradient using all colors from the Flexoki light palette
scale_color_flexoki_light_spectrum(direction = 1, ...)
direction |
Sets the direction of the color scale (1 = default, -1 = reversed) |
... |
Additional arguments passed to scale_color_gradientn() |
A sequential ggplot2 color scale
library(ggplot2)
ggplot(faithfuld, aes(waiting, eruptions, color = density)) +
geom_point() +
scale_color_flexoki_light_spectrum()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.