join the points on a scatter plot