How can you plot chromaticity diagrams using MATLAB using xyz values or L*a*b*?

2 vues (au cours des 30 derniers jours)
Jerad
Jerad le 25 Sep 2013
How can you plot chromaticity diagrams using MATLAB using xyz values or L*a*b*.
I want the diagrams to look something like this: http://en.wikipedia.org/wiki/File:CIE1931xy_blank.svg
More information can be found here: http://en.wikipedia.org/wiki/CIE_1931_color_space
So far I have:
>> x = x_bar./(x_bar + y_bar + z_bar);
>> y = y_bar./(x_bar + y_bar + z_bar);
>> plot(x,y)
I appreciate any help you can give me. Thank you.

Réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by