Getting scatter plots to work