On Fri, Jul 20, 2012 at 10:11 AM, Andreas Hilboll wrote:
> Hi,
>
> I have a problem using histogram2d:
>
>from numpy import linspace, histogram2d
>bins_x = linspace(-180., 180., 360)
>bins_y = linspace(-90., 90., 180)
>data_x = linspace(-179.96875, 179.96875, 5760)
>data_y = li
Hi,
On Fri, Jul 20, 2012 at 6:42 PM, yogesh karpate wrote:
> I think since its a joint histogram, you need to have equal no. of data
> points and bins
> in both x and y.
Makes sense that number of elements of data points (x, y) is equal. Perhaps
the documentation like
http://docs.scipy.org/doc/n
I think since its a joint histogram, you need to have equal no. of data
points and bins
in both x and y.
On Fri, Jul 20, 2012 at 5:11 PM, Andreas Hilboll wrote:
> Hi,
>
> I have a problem using histogram2d:
>
>from numpy import linspace, histogram2d
>bins_x = linspace(-180., 180., 360)
>
Hi,
I have a problem using histogram2d:
from numpy import linspace, histogram2d
bins_x = linspace(-180., 180., 360)
bins_y = linspace(-90., 90., 180)
data_x = linspace(-179.96875, 179.96875, 5760)
data_y = linspace(-89.96875, 89.96875, 2880)
histogram2d(data_x, data_y, (bins_x,