I have been working on a similar problem related to finance. What I have done is call the "R" statistical software from Python and then use matplotlib for graphing within Python
I use Python2.4, the "R" statistical package, and a Python package called rpy which interfaces to "R" from Python LINKs: http://rpy.sourceforge.net/ http://www.r-project.org/ My tendency is to submit the data to "R" which does the statistical calculations, return the results to Python, and then use Matplotlib to plot. Keep in mind that "R" also has good plotting capabilities and you might just go with that solution. ########################################### Eric Firing wrote: >You might get a good answer here (although I don't have it), but be >aware that your question relates to math, not plotting, so it is not >really a matplotlib question. You need nonlinear least-squares. Look >in scipy, and try the amazing Google. > >Eric > >Adrian Price-Whelan wrote: > > >>Hey guys - >> >>I'm working on a Histogram of pixel values from an astronomical image >>that looks like a Gaussian curve and then polynomial decay. I'm >>trying to figure out a way to fit a Gaussian regression to the >>histogram, but can't find any documentation on this. thanks! >> >>-adrian >> >> > >------------------------------------------------------------------------- >This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >Don't miss this year's exciting event. There's still time to save $100. >Use priority code J8TL2D2. >http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >_______________________________________________ >Matplotlib-users mailing list >Matplotlib-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users