plot Lab color coordinates

This function can be used to create various plots of Lab color coordinates.
2.9K Downloads
Updated 7 Jan 2014

View License

The plot_Lab function is a simple tool to create nice-looking Matlab figures of CIE-L*a*b* color coordinates of a set of data samples.

Features:
-> plots can be created in true-color (each datapoint is plotted with the marker face color corresponding to that of the data sample)

-> plots can be created in pseudo-color (each sample is plotted in one color that is specified with the function call. Another call of the function allows plotting another set of data samples in the same figure)

-> 2D plots illustrate the data points in three subplots (a*b*;L*a*;L*b*)

-> 3D plots illustrate the data points in the 3D Lab space.

-> projected 3D plots illustrate the data points in a 3D space, but samples projected in the a*b*, L*a*, L*b* plane.

Figures can be exported to scalable vector graphics (svg) using 'plot2svg.m' by Juerg Schwizer (http://www.mathworks.es/matlabcentral/fileexchange/7401-scalable-vector-graphics-svg-export-of-figures). To use this feature, plot2svg.m must be available.

Simply run 'plot_Lab(0,0,0,0,0,0)' for a demo of all plot types with example data.

Cite As

Timo Eckhard (2024). plot Lab color coordinates (https://www.mathworks.com/matlabcentral/fileexchange/44965-plot-lab-color-coordinates), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Scalable Vector Graphics (SVG) Export of Figures

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0