I want know the y-limits of a histogram made automatically.
I get the values I want when I type interactively
c1->cd(3);
h->Draw();
gPad->GetFrame()->GetY1();
gPad->GetFrame()->GetY2();
However, when I do it within a macro, I get Y1=0 and Y2=1;
I suspect this is due to "gPad" which does not work as I think.
So how do I get the y-limits.
Robert
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:02 MET