Learn R Programming

pavo (version 1.0.0)

cieplot: CIE plot

Description

Plot a CIE (XYZ or LAB) chromaticity diagram.

Usage

cieplot(ciedata, mono = TRUE, out.lwd = NULL, out.lcol = "black", out.lty = 1, view = 70, scale.y = 0.45, axis = FALSE, grid = FALSE, xlim = c(-12.8, 12.7), ylim = c(-12.8, 12.7), zlim = c(0, 10), margin = c(1, 1, 1, 1), ...)

Arguments

ciedata
(required)
mono
should the monochromatic loci (the 'horseshoe') be plotted? Defaults to TRUE.
out.lwd, out.lcol, out.lty
graphical parameters for the monochromatic loci outline.
view
orientation of the 3d plot in degrees, when space = 'cielab' (defaults to 70).
scale.y
numeric. Perspective scaling of the y axis (defaults to 0.45).
axis
logical. Draw X, Y and Z axis (defaults to FALSE).
grid
logical. Draw grid (defaults to FALSE).
xlim, ylim, zlim
axis limits
margin
vector of four numbers specifying drawing margins (defaults to c(1,1,1,1))
...
Additional graphical options. See par.

References

Smith T, Guild J. (1932) The CIE colorimetric standards and their use. Transactions of the Optical Society, 33(3), 73-134.

Westland S, Ripamonti C, Cheung V. (2012). Computational colour science using MATLAB. John Wiley & Sons.

Examples

Run this code
## Not run: 
# data(flowers)
# vis.flowers <- vismodel(flowers, visual = 'cie2', illum = 'D65')
# cie.flowers <- colspace(vis.flowers, space = 'ciexyz')
# plot(cie.flowers)
# ## End(Not run)

Run the code above in your browser using DataLab