Hello,
I need to resize and define the position of the colorbar.
This is my code:
ax3 = subplot(2,3,2);ibg2 = imagesc(scene);axis offhold oniim2 = imagesc(im,'XData',[16 466],'YData',[104 484]); caxis([0 3])iim2.AlphaData = 0.75*ones(size(im));iim2.AlphaData(isnan(im)) = 0; colorbarcolormap parulacaxis([0 3])cb = colorbar; set(cb,'position',[.10 .1 .1 .1])
This is the graph i get :
I need to place the color bar in the blue box (see figure)?
Thanks,
Best Answer