Description Usage Arguments Value Author(s) See Also
View source: R/prettyGraphsHSVColorSelection.R
This function uses an HSV color selection algorithm to create HSV color palletes.
1 | prettyGraphsHSVColorSelection(n.colors = 1, offset = NULL, h = 13, s = 0.75, v = 0.75)
|
n.colors |
number of colors needed |
offset |
numeric (decimal/percentage). This number decides the distance between indices for color selection. If NULL, the golden ratio is selected. |
h |
numeric. The initial hue (see |
s |
numeric. The initial saturation (see |
v |
numeric. The initial value (see |
a matrix |
a matrix of colors are returned. |
Derek Beaton
HSV selection from here:
http://martin.ankerl.com/2009/12/09/how-to-create-random-colors-programmatically/
prettyGraphsColors
, prettyGraphsColorSelection
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.