Clear Filters
Clear Filters

How to display images in 2 color map side-by-side?

2 views (last 30 days)
John on 7 Nov 2017
Answered: Greg on 7 Nov 2017
I want to display 2 images (or the same image twice) matrix side-by-side (tightly) with say, imagesc, with different color maps. How can this be done?

Answers (1)

Greg on 7 Nov 2017
R2014b introduced handling for colormaps at the axes level (rather than the figure level). See the release notes for complete details:


Find more on Colormaps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!