Fit a Gaussian to a Histogram Plot [message #67245] |
Sat, 18 July 2009 15:20 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
Someone asked me this weekend how to fit a Gaussian
to the output of the Coyote Library routine Histoplot.
Good question.
I was surprised to learn (well, "shocked" might be a better
word) that the author of Histoplot had already anticipated
the need for this functionality, and had provided the
appropriate output keywords to make this possible.
Here is how it can be done:
http://dfanning.com/graphics_tips/fithisto.html
Cheers,
David
P.S. Let's just say it's not *always* IDL that surprises you! :-)
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|