Hi
I've got an anatomical image 192*192 and a binary ROI with same size. I'd like to display them in one figure but with different colormaps, here's the code I use but it only shows ax2 and no idea why… any help much appreciated!
% read in image IM size 192*192
ax1 = axes;A = imagesc(IM);% read in mask m 192*192
ax2 = axes;B = imagesc(m); linkaxes([ax1,ax2]);ax2.Visible = 'off';ax2.XTick = [];ax2.YTick = [];colormap(ax1,'gray');colormap(ax2,'hot');
Best Answer