This function creates a gradient to fill the CIE chromaticity diagram.
prepCIEgradient(vertices = NULL, colSpace = "sRGB", ex = 1, ...)
An array containing the data needed to draw the gradient.
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.
Bryan A. Hanson, DePauw University. hanson@depauw.edu
plotCIEchrom
for examples of this function in use.