On 2011-02-18 07:32:48 +0100, Robert Abiad said:
> Dear Folks,
>
> I'm finding that hist has problems computing on 2d arrays.
>
> import numpy
> import pylab
> mu, sigma = 2, 0.5
> v = numpy.random.normal(mu,sigma,16)
> pylab.hist(v, bins=1000, normed=1)
>
> Th
Dear Folks,
I'm finding that hist has problems computing on 2d arrays.
import numpy
import pylab
mu, sigma = 2, 0.5
v = numpy.random.normal(mu,sigma,16)
pylab.hist(v, bins=1000, normed=1)
This works without any problems. But if you try this:
w=v.reshape(40