On Sun, 18 Jul 1999, Norbert Danneberg wrote: > Hi, > > how does TH2 set its Axis ranges ? If I try to set the ranges by hand > using > My2DHist->GetXaxis()->SetRange(2,20) > My2DHist->GetYaxis()->SetRange(2,20) > > and then Draw the Histogram > > MyHist->Draw() I know at least what works: first do: MyHist->Draw() and then: My2DHist->GetXaxis()->SetRange(2,20) you then have to update your pad. Cheers Otto ---------------------------------------------------------------------------- Otto Schaile Sektion Physik der LMU Muenchen Phone: (+49 89)289 14070 Am Coulombwall 1, D-85748 Garching, Germany FAX: (+49 89)289 14072 EMail: Otto.Schaile@Physik.Uni-Muenchen.DE
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:36 MET