The enclosed script plots the same data twice. The right plot differs from the left by the additional call to set the gca property ytickmode to manual. That call causes the plot to be rescaled in the y-direction, but the gca properties ylim ("texted" onto the plot) are not updated.