This function uses an HSV color selection algorithm to create HSV color palletes.
prettyGraphsHSVColorSelection(
n.colors = 1,
offset = NULL,
h = 13,
s = 0.75,
v = 0.75
)
a matrix of colors are returned.
number of colors needed
numeric (decimal/percentage). This number decides the distance between indices for color selection. If NULL, the golden ratio is selected.
numeric. The initial hue (see hsv
).
numeric. The initial saturation (see hsv
).
numeric. The initial value (see hsv
).
Derek Beaton
HSV selection from here:
http://martin.ankerl.com/2009/12/09/how-to-create-random-colors-programmatically/
prettyGraphsColors
,
prettyGraphsColorSelection