Description Usage Arguments Details Author(s) See Also Examples
Use XKCD's "Painbow" colormap
1 2 3 |
... |
Any arguments are passed to |
The colors were extracted directly from the colorscale in XKCD's image (https://xkcd.com/2537/).
Steve Haroz
See ggplot2:scale_fill_gradientn()
for additional arguments.
1 2 3 4 5 6 | # You can use it for continuous data
library(ggplot2)
ggplot(faithfuld) +
aes(waiting, eruptions, fill = density) +
geom_tile() +
scale_fill_painbow()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.