Connecting points in a scatter plot