% Fill figure with axes "ha" and remove tick labels
app.ha.Position = [0 0 app.UIFigure.Position(3:4)];
% Remove title, axis labels, and tick labels
uistack(app.ha,top);
title(app.ha, []);
xlabel(app.ha, []);
ylabel(app.ha, []);
app.ha.XAxis.TickLabels = {};
app.ha.YAxis.TickLabels = {};
% Display image and stretch to fill axes
I = imshow('Powerlines.jpg', 'Parent', app.ha,'XData', [1 app.ha.Position(3)],'YData', [1 app.ha.Position(4)]);
% Set limits of axes
app.ha.XLim = [0 I.XData(2)];
app.ha.YLim = [0 I.YData(2)];I hope it helps you