While plotting a histogram from a data file, the last point is not coming out right! As you can see in the first image, the ‘y’ value for ‘x=5’ must be 25 but it comes out to be 50? Where’s the error?
Also, what are these horizontal and vertical blue lines?
And, if I change the number of bins from 5 to 10 the points are plotted incorrectly!(See second attached image below.) Why is this so?
I’ve uploaded all the necessary files below.
Another thing is that, what’s the difference in outcome if I plot the same x and y values using TGraph instead of TH1F?
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided