change axis ranges for plots