prepCIEgradient: Compute a gradient to fill the CIE chromaticity diagram

Description Usage Arguments Value Author(s) See Also

Description

This function creates a gradient to fill the CIE chromaticity diagram.

Usage

1
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 plotCIEchrom for full details.

...

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.


bryanhanson/SpecHelpers documentation built on May 13, 2019, 8:09 a.m.