Learn R Programming

colorscience (version 1.0.8)

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=get("cccie31", envir = environment()), 
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
# NOT RUN {
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