Re: [Matplotlib-users] Fitting math functions to histograms

2009-11-30 Thread William Carithers
Hi John, Yes, that is true if the data is truly gaussian. In my case, I know that the data have non-gaussian tails which tend to dominate the calculation of the standard deviation. I should have been clearer in my post that what I actually wanted to do was fit a gaussian to the truncated "central"

Re: [Matplotlib-users] Fitting math functions to histograms

2009-11-30 Thread John Hunter
On Mon, Nov 30, 2009 at 6:44 PM, William Carithers wrote: > I would like to fit a gaussian to a histogram and then overplot it. I can > write the code to do this but most plotting packages support such fitting. > However I can't find it for pyplot even after scanning documentation, > googling, etc

[Matplotlib-users] Fitting math functions to histograms

2009-11-30 Thread William Carithers
I would like to fit a gaussian to a histogram and then overplot it. I can write the code to do this but most plotting packages support such fitting. However I can't find it for pyplot even after scanning documentation, googling, etc. In fact, the only fitting functionality I could find was the poly