[Numpy-discussion] histogram help

Ruby Stevenson ruby185 at gmail.com
Mon Jan 30 14:27:15 EST 2012


Sorry, I realize I didn't describe the problem completely clear or correct.

the (x,y) in this case is just many co-ordinates, and  each coordinate
has a list of values (Z value) associated with it.  The bins are
allocated for the Z.

I hope this clarify things a little. Thanks again.

Ruby




On Mon, Jan 30, 2012 at 2:21 PM, Ruby Stevenson <ruby185 at gmail.com> wrote:
> hi, all
>
> I am trying to figure out how to do histogram with numpy
>
> I have a three-dimension array A[x,y,z],  another array (bins) has
> been allocated along Z dimension, z'
>
> how can I get the histogram of H[ x, y, z' ]?
>
> thanks for your help.
>
> Ruby



More information about the NumPy-Discussion mailing list