This function creates a gradient to fill the CIE chromaticity diagram.
prepCIEgradient(vertices = NULL, colSpace = "sRGB", ex = 1, ...)
The vertices of a polygon that is to be filled with the gradient.
Character. The color space model to use.
Numeric. The exposure factor. This shifts the gradient.
Be extremely careful with this. See plotCIEchrom
for full details.
Arguments to be passed downstream.
An array containing the data needed to draw the gradient.
plotCIEchrom
for examples of this function in use.