making changes in scatterplot