Please have a look at the documentation for TH1::Fit(), as that also explains how to fit other kinds of histograms. There are also examples in the forum, and a tutorial you can use as example. I hope this is enough. Cheers,
1 Like