hist->Draw();
After, you create a new pad:
TPad *newpad = new TPad("newpad","newpad",0.298851,0.391949,0.945402,0.976695);
newpad->Draw();
then, you modify the maximum:
hist->SetMaximun(10);
and you draw it in newpad:
newpad->cd();
hist->Draw(); // all looks right but:
when you print it:
c1.Print("plot.ps");
you have a surprise. It is the same picture on c1 and on newpad
(the maximum value being 10).
It is possible to avoid that without creating a new histogram ?
Thank you for your help ?
**************************************
Patrice Lebrun
Institut de Physique Nucleaire de Lyon
Phone: 04 72 44 84 43
Fax: 04 72 44 80 04
*******************