gg_color_hue | R Documentation |
gg_color_hue Emulate ggplot2 color palette.
gg_color_hue(n)
n |
number of colors |
It is just equally spaced hues around the color wheel, starting from 15:
a vector with colors (alphanumeric)
## Not run:
plot(1:10, pch=16, cex=2, col=gg_color_hue(10))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.