chromaticity.diagram: Plot the chromaticity diagram

Description Usage Arguments Value Author(s) Examples

View source: R/colorscience.R

Description

chromaticity.diagram Plots the chromaticity diagram AKA "horse shoe".

Usage

1
2
chromaticity.diagram(chromaticityCoordinates=get("cccie31", envir = environment()), 
conversionFunction=NULL,...) 

Arguments

chromaticityCoordinates

chromaticity coordinates

conversionFunction

optional function to perform the coordinate conversion

...

optional parameters for the plot command

Value

none

Author(s)

Jose Gama

Examples

1
2
3
4
5
chromaticity.diagram()
xl<-yl<-0:1
chromaticity.diagram(xlim=xl,ylim=yl)
chromaticity.diagram(conversionFunction=CIE1931XYZ2CIE1976uv, xlim=xl,ylim=yl,
xlab="u'",ylab="v'")

Example output

Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package: 'Hmisc'

The following objects are masked from 'package:base':

    format.pval, round.POSIXt, trunc.POSIXt, units

Loading required package: munsellinterpol
Loading required package: geometry
Loading required package: magic
Loading required package: abind
Loading required package: pracma

Attaching package: 'pracma'

The following object is masked from 'package:munsellinterpol':

    hypot

The following objects are masked from 'package:geometry':

    dot, polyarea

The following object is masked from 'package:magic':

    magic

The following object is masked from 'package:Hmisc':

    ceil

Loading required package: sp

Attaching package: 'colorscience'

The following objects are masked from 'package:munsellinterpol':

    XYZ2xyY, xyY2XYZ

colorscience documentation built on Oct. 30, 2019, 9:33 a.m.