On Thu, Dec 17, 2009 at 10:56 AM, Christopher Barker <chris.bar...@noaa.gov> wrote: > iCy-fLaME wrote: >> I am aware of Hexbin, which is a kind of histogram with hexagonal >> cells. But what if my data comes in a Hex grid to start with? > >> What would be a good way to plot such data? > > Use the source, Luke! > > Take a look at the source of Hexbin -- the answer must be there.
You will probably want to create a PolyCollection or a RegularPolyCollection: http://matplotlib.sourceforge.net/search.html?q=PolyCollection Examples at: http://matplotlib.sourceforge.net/examples/api/collections_demo.html?highlight=polycollection JDH ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users