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

Description Usage Arguments Value Author(s) Examples

View source: R/colorscience.R

Description

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

Usage

1
2
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

Author(s)

Jose Gama

Examples

1
2
3
4
5
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'")

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 May 31, 2017, 2:30 a.m.