When I open an image in a figure window and add text the grid lines appear on top of the text.
For example:
r=ones(100);imagesc(r)txt1 = ['this is a test'];tx1 = text(50,50,txt1,'units','data','backgroundcolor',[1 0 0])grid on
If I set the LAYER property of the axes to BOTTOM then the gridlines are behind both the image and the text.
Best Answer