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

3 views (last 30 days)
John
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?
Thanks.

Answers (1)

Greg
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:

Categories

Find more on Color and Styling 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!