How can you plot chromaticity diagrams using MATLAB using xyz values or L*a*b*?
7 views (last 30 days)
Show older comments
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
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.
0 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!