Light Bartlein Color Maps

Generates one of four colormaps using schemes proposed in technical literature
Updated 1 Sep 2016

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This submission was inspired by comments from Ned Gulley in a recent Blog by Doug Hull. Ned cited an EOS article by A. Light and P.J. Bartlein who proposed some color maps designed for colorblind viewers. This function implements four of the proposed color maps using look-up tables (aka interpolation). A link to the article is included in the M-file.

Cite As

Robert Bemis (2024). Light Bartlein Color Maps (, MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated license


Relaxed nargout contstraint (from 1 to 0-1) so function can return colormap values as ANS consistent with MATLAB's other colormaps. Thanks to John D'Errico - nice catch.