You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Ever wish you could use multiple colormaps on a single figure? Now you can. Given an array, mapcolor.m applies a colormap of your choice, returning a new array of the same size that contains explicit RGB triplets. You can then display your data in color, using built-in plotting functions, without relying on the figure's colormap setting.
Also included:
mapcolorbar.m mimics colorbar.m when you're using mapcolor.
colorlabel.m quickly applies labels to Colorbars and MapColorbars.
redblue.m is a colormap from red, through white, to blue--useful for data centered on zero.
Cite As
Doug (2026). Mapcolor: Easily apply mulitple colormaps on the same figure (https://au.mathworks.com/matlabcentral/fileexchange/31063-mapcolor-easily-apply-mulitple-colormaps-on-the-same-figure), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (4.87 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
