Statistics after zoom TH1/TH2 - number of entries unchanged


When zooming a TH1 or TH2, the mean and rms are updated accordingly in the statistics box. But the number of entries doesn’t change, which means it still has the value of the total number of entries in the plot. I was wondering why this is the case and if this behaviour can be changed in any way, so you can see easily how many points there are in your zoomed view.

Thanks in advance.


simply on the stats box, using the pop-up menu select SetOptStat
and enter the value 1111111