frudawski

plotcfi

The plotcfi function creates a plot of the chromatic shift in a’ and b’ dimension according to the Colour Fidelity Index in CIE 224:2017 and ANSI TM30-20. Any errors in the data set or in results generated with the Lighting Toolbox are not in the liability of the CIE nor me, see licence.

See also: ciecfi, plotcfibar

Usage:

plotcfi(cfi,mode,fontsize)

Where:

ParameterDescription
cfiIs a single colour fidelity index (CFI) struct, see ciecfi function.
modeSpecifies the plot mode:
‘CIE’ plots the chromatic shift as in CIE TR 224 (default)
‘CLR’ plots the chromatic shift as in CIE TR 224 on colour background
‘TM30’ plot the chromatic shift as in ANSI TM30-20
fontsizeDefnies the fontsize of the text elements in ‘TM30’ plot mode, default: 16

Examples

Plot the chromatic shift of standard illuminant ‘FL4’:

lam = 380:780;
spec = ciespec(lam,'FL4');
cfi = ciecfi(lam,spec);
plotcfi(cfi)

See also: ciespec, ciecfi

Result:

Plot the chromatic shift of standard illuminant ‘FL2’ in ‘CLR’ mode:

lam = 380:780;
spec = ciespec(lam,'FL2');
cfi = ciecfi(lam,spec);
plotcfi(cfi,'CLR')

See also: ciespec, ciecfi

Result:

Plot the chromatic shift of standard illuminant ‘LED-B2’ in ‘TM30’ mode:

lam = 380:780;
spec = ciespec(lam,'LED-B2');
cfi = ciecfi(lam,spec);
plotcfi(cfi,'TM30')

See also: ciespec, ciecfi

Result:

Reference

CIE 224:2017: CIE 2017 Colour Fidelity Index for accurate scientific use. Commission International de l’Éclairage (CIE), Vienna Austria, 2017, ISBN: 978-3-902842-61-9.

ANSI/IES TM30-20: IES Method for Evaluating Light Source Color Rendition. Illuminating Engineering Society, Geneva, Switzerland, 2020, ISBN: 978-0-87995-379-9.

Leave a comment

* I accept the use of cookies as well as the terms in the privacy policy. I accept that data provided by me is processed and saved. I know that comments are saved and published after review.