|
From: Ryan M. <rm...@gm...> - 2009-08-05 15:25:43
|
On Wed, Aug 5, 2009 at 9:48 AM, per freem <per...@gm...> wrote: > hi all, > > is there a way to make density plots using hexagonal bins in matplotlib? > what i mean is something like the hexbin package for R, where you can make > density plots where hexagons are plotted in size proportion to the number of > points in that hexagonal bin... see > http://www.bioconductor.org/packages/2.3/bioc/html/hexbin.html > > alternatively, the hexgons can be of the same size but shaded in proportion > to their counts. i am more interested in the case where the hexagons are > sized differently, but in any case, both hexagonal density plots come with > an associated legend on the side that shows the bins: > > > http://bm2.genes.nig.ac.jp/RGM2/R_current/library/hexbin/man/gplot.hexbin.html > > is there a way to do this in matplotlib? thanks for your help. > Not to be rude, but is there any reason you didn't look for pyplot.hexbin before sending the email? :) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |