Group two dimentional data (x,y) into distinct bins, and plot the average x and y for all the bins.