Multiple Colormaps
Remaps CData for multiple images, plotted in the current axis, to their respective individual colormaps. Multiple examples provided. The examples also demonstrate how semitransparent effects can be achieved for entire image or specific image regions.
Currently multiple subplots are not supported.
This submission is an extension of examples presented in MathWorks support article: "1215 - Using Multiple Colormaps in a Single Figure" url: http://www.mathworks.com/support/tech-notes/1200/1215.html
Cite As
Kamil Wojcicki (2024). Multiple Colormaps (https://www.mathworks.com/matlabcentral/fileexchange/35354-multiple-colormaps), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: freezeColors / unfreezeColors, export_fig
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.