Fitting at end of bin


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


I was wondering if there was a way to fit a histogram by the end of the bin rather than the middle of the bin. I looked in gOptions for the fit() function but didn’t see anything for it. If there is not I can just take make a separate graph with points at the bin edges. I just wanted to know if there was a simple way to do it that I have not found.

I don’t think that’s possible. @moneta can confirm. If it is not , as I think, your idea to copy the upper edges of the bins in a TGraph is right.

Hi,
There is no option for doing it directly. What is suggested above is the simplest solution.

Lorenzo