View source: R/prepCIEgradient.R
prepCIEgradient | R Documentation |
This function creates a gradient to fill the CIE chromaticity diagram.
prepCIEgradient(vertices = NULL, colSpace = "sRGB", ex = 1, ...)
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. |
An array containing the data needed to draw the gradient.
Bryan A. Hanson, DePauw University. hanson@depauw.edu
plotCIEchrom
for examples of this function in use.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.