scale_color_bit12_continuous | R Documentation |
Continuous Color Scale Using Bit12 Colors
scale_color_bit12_continuous(palette = "azure", ...)
palette |
Name of the color palette to use ("plum", "rose", "coral", "apricot", "lemon", "lime", "mint", "teal", "sky", "azure", "cobalt", "violet") |
... |
Additional arguments passed to scale_color_gradientn() |
A continuous ggplot2 color scale
library(ggplot2)
ggplot(faithfuld, aes(waiting, eruptions, color = density)) +
geom_point() +
scale_color_bit12_continuous(palette = "azure")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.