I have a list of points:
points={{3, 0}, {3, 9}, {4, 2}, {5, 5}, {6, 9}, {6, 6}, {6, 1}, {7, 7}, {8,0}, {8, 10}};
And as you can see on the plot, there are some values of x that appear more than once.
I want to accumulate the ones that are at the same value of x, so the final result should look like this:
I tried using
points[[All,1]]//Split
To get
{{3, 3}, {4}, {5}, {6, 6, 6}, {7}, {8, 8}}
But I don't know where to go after that, furthermore, I'm fairly sure this is not the right way to approach this problem.