The first option on the Zoom menu of the plot window sets the zoom behaviour. It is set to X (Y autoscale) by default.