[SciPy-user] Fitting - Gauss-normal distribution

Marian Jakubik mjakubik at ta3.sk
Mon Feb 26 08:34:57 EST 2007


Hi, I am a SciPy newbie solving this problem:

I would like to fit data with gaussian normal distribution.... First, I
generated data:

list=normal(0.00714,0.0005,140)

Then I plot this data:

pylab.hist(list,20)

And at the end, I'd like to plot a gauss fit in the graph, also....

Could anyone help me, please?

Marian

This is my code:

from numpy import *
from RandomArray import *
import pylab as p

list=normal(0.00714,0.0005,140)

p.hist(list,20)
p.show()






More information about the SciPy-User mailing list