prepCIEgradient {SpecHelpers} | R Documentation |
Compute a gradient to fill the CIE chromaticity diagram
Description
This function creates a gradient to fill the CIE chromaticity diagram.
Usage
prepCIEgradient(vertices = NULL, colSpace = "sRGB", ex = 1, ...)
Arguments
vertices |
The vertices of a polygon that is to be filled with the gradient. |
colSpace |
Character. The color space model to use. |
ex |
Numeric. The exposure factor. This shifts the gradient.
Be extremely careful with this. See |
... |
Arguments to be passed downstream. |
Value
An array containing the data needed to draw the gradient.
Author(s)
Bryan A. Hanson, DePauw University. hanson@depauw.edu
See Also
plotCIEchrom
for examples of this function in use.
[Package SpecHelpers version 0.2.7 Index]