Learn R Programming

colorscience (version 1.0.2)

Maxwell.triangle: Plot the Maxwell triangle

Description

Maxwell.triangle Plots the Maxwell triangle, as a black line, a color line or a polygon.

Usage

Maxwell.triangle(primariesRGB=colorscience::whitepointsRGB, conversionFunction=NULL,...)

Arguments

primariesRGB
primarie valuess for RGB color spaces
conversionFunction
optional function to perform the coordinate conversion
...
optional parameters for the plot command

Value

none

Examples

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

Run the code above in your browser using DataLab