changing domain for scatterplot