Mapcolor: Easily apply mulitple colormaps on the same figure

版本 1.0.0.0 (4.9 KB) 作者: Doug
Take control of your colors! When one colormap just isn't enough.
635.0 次下载
更新时间 2011/4/15

查看许可证

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.

引用格式

Doug (2024). Mapcolor: Easily apply mulitple colormaps on the same figure (https://www.mathworks.com/matlabcentral/fileexchange/31063-mapcolor-easily-apply-mulitple-colormaps-on-the-same-figure), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0