changed range of x-axis