These functions provide a simple way of storing white point and gamut data for use in drawing CIE chromaticity diagrams.
getGamutValues(gamut)getWhiteValues(white)
A character string giving the name of the desired gamut. One of
c("Apple", "CIE", "Adobe", "sRGB", "NTSC", "SWOP")
.
The desired white point value. One of c("D65", "E", "C", "D50")
.
A data frame with columns x, y containing the vertices of the requested gamut in CIE chromaticity coordinates, or, for a white point, a data frame containing the coordinates of the requested white point.
plotCIEchrom
for examples of this function in use.