I drawn on the same canvas 2 histos (using “sames” option).
The problem is: when I zoom on the x axis, only the statistics
value (mean, rms) of the first histo is updating the other one
is not affected .
Does anyone have a solution to fix this ?
By advance thank you
cheers
Olivier
you are right. In case of several histograms in the same pad, only the first histogram had its statistics box updated. The problem should be fixed now in the SVN trunk.
Thanks for reporting this special case.
A naive question:
when I zoom the mean and the rms changed as expected,
but the Entries remain constant … does this is correct ?
I mean if I zoom I have less Entries in my plot, so the Entries should decrease isn’t ?
cheers
Olivier
No the number of entries does not change. In fact this information is in general not available when filling with weights. However, you can display the integral of the bins in the current range by selecting the option via gStyle->SetOptStat or myhist->SetStats