I need to overlay a color map over a gray scale image with with the colorbar on the side.
87 views (last 30 days)
I know there are similar post but I was unable to get them working. Attached is one matfile which contains 2 variables. I would like the colormap (Tmap) overlayed on a gray-scaled imaged on the variable 'x'. I also need all the zeroes not to show and and a colorbar shown on the side. Thanks for the assistance. You can see what I tried to do to get it working. Thanks for the help.
figure; imagesc(Tmap); colormap(jet); colorbar;
vvv=[37 45]; %Set the colorbar axis
Teja Muppirala on 20 Dec 2017
Something like this maybe?
ax1 = axes;
ax2 = axes;
ax2.Visible = 'off';