[Root_list] TAxis
Carlos Ayerbe-Gayoso
gayoso at jlab.org
Mon Sep 16 18:31:12 EDT 2013
Dear rooters
I noticed that a histogram, stored in a root file, if is read by a macro
and the limits are changed via TAxis, the "size" of the bins change.
Taxis *axis_1 = hXcg->GetXaxis();
axis_1->SetLimits(-15.,15.);
Let's say that if the lower bin with data, in the original histogram, is
at -6, after the SetLimits option, the lower bin is around -5.
Does it happen to you? The shape of the histogram is the same, so no
rebinning happen before.
Thank you for your feedback
Carlos
More information about the Root_list
mailing list