Bichromatic colormap for real2rgb

Version 1.0.0.0 (1.66 KB) by Jurgen
Takes 2 RGB colors and returns a map or truecolor image. Same options as the colormaps from real2rgb
471 Downloads
Updated 14 Jan 2013

View License

Takes 2 RGB colors and returns a map or truecolor image. Same options as the colormaps from real2rgb

Based on real2rgb and the associated private functions. See Oliver Woodford's submission.

Instead of making a map for every unique combination of 2 colors I made 1 function that takes 2 colors as input.

E.g. map = bichromatic(cols);
See comment section in code for specifics

Cite As

Jurgen (2024). Bichromatic colormap for real2rgb (https://www.mathworks.com/matlabcentral/fileexchange/39825-bichromatic-colormap-for-real2rgb), MATLAB Central File Exchange. Retrieved .

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

Inspired by: real2rgb & colormaps

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