Learn R Programming

colorscience (version 1.0.2)

chromaticity.diagram.color: Plot the chromaticity diagram line with color

Description

chromaticity.diagram.color Plots the chromaticity diagram AKA "horse shoe", as a black line, a color line or a polygon.

Usage

chromaticity.diagram.color(chromaticityCoordinates=colorscience::cccie31, conversionFunction=NULL, granularity=10, ...)

Arguments

chromaticityCoordinates
chromaticity coordinates
conversionFunction
optional function to perform the coordinate conversion
granularity
granularity = number of calculated points
...
optional parameters for the plot command

Value

none

Examples

Run this code
chromaticity.diagram.color()
xl<-yl<-0:1
chromaticity.diagram.color(xlim=xl,ylim=yl)
chromaticity.diagram.color(conversionFunction=CIE1931XYZ2CIE1976uv, xlim=xl,
ylim=yl,xlab="u'",ylab="v'")

Run the code above in your browser using DataLab