basic scatterplot function