MATLAB: Zoom-in into figure, doesn’t change Y axes

figure

Hello,
When performing zoom in on some positive values in the figure, where I have some negative values, after the zoom-in, I still have negative values on Y-axes. Please suggest what to do.
Matlab version: 8.6.0.267246 (R2015b) (.fig file is also attached)
Original image:
Zoomed-in image:

Best Answer

Try setting the YTickLabelMode or the YTickMode to 'auto' or 'manual'.
e. g.
ax = gca;
ax.YTickLabelMode = 'auto';