[Chicago] binned scatterplot
Oren Livne
livne at uchicago.edu
Wed Dec 18 19:05:26 CET 2013
Dear All,
I have two matching arrays, x and y. I'd like to create a histogram of y
vs. x. Instead of individual scatter points, I'd like to bin them into
(x,y) combinations that form a 2-D array of cells, count the number of
points within each cell, color the cell according to its distance from
the diagonal (y=x), and have its intensity be proportional to the number
of points in the cell. Is there a clean way of doing this with matplotlib?
Thanks,
Oren
More information about the Chicago
mailing list