I am trying to plot a scatter plot with an image as the background in one subplot. I want all axes to be invisible on this particular subplot. However, this doesn't seem to be working:
subplot('Position',[0.4, 0.58, 0.5, 0.46])
ha = axes('units','normalized','position',[0.4, 0.58, 0.5, 0.46]);
I=imread('myimage.tif');
image(I)
set(ha,'Visible','off')
hb = axes('position',[0.4, 0.58, 0.5, 0.46]);
scatter(x,y,10,'k')
set(hb,'Visible','off')