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

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)

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

Categories

Asked:

on 7 Nov 2017

Answered:

on 7 Nov 2017

Community Treasure Hunt

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

Start Hunting!