M-File Help: xycolorspace View code for xycolorspace

xycolorspace

Display spectral locus

xycolorspace() display a fully colored spectral locus in terms of CIE x and y coordinates.

xycolorspace(p) as above but plot the points whose xy-chromaticity is given by the columns of p.

[im,ax,ay] = xycolorspace() as above returns the spectral locus as an image im, with corresponding x- and y-axis coordinates ax and ay respectively.

Notes

See also

rg_addticks


 

© 1990-2012 Peter Corke.