On Thu, Oct 1, 2009 at 5:29 PM, Ernest Adrogué <eadro...@gmx.net> wrote:
> Hello all,
>
> What is the best way to plot a 2d histogram?
> (Note that a 2d histogram is a histogram of a bivariate variable,
> so it's got to be a 3d plot.)
>
> Ideally, it should look somewhat like this:
> http://www.desy.de/~mraue/public/rootTutorial/v0.2/histogram02.gif
>
> For now, I have tried to do surface plots, one for each "bin",
> but this way you only get the tops of a series of imaginary columns
> and it looks a bit namby-pamby if you know what I mean.
>
> Any idea will be appreciated.
>
> --
> Ernest
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

Although it is not an exact histogram, if you are you looking for a
Pythonic alternative you might consider using Mayavi. It has ready
barchart plotting functionality. Probably with some effort a 2D
histogram as you linked might be created.

http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/mlab_helper_functions.html#barchart

-- 
Gökhan

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to