Axis->SetRange() in TH2

Norbert Danneberg (norbert.danneberg@psi.ch)
Sun, 18 Jul 1999 00:58:43 +0200


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()

the ranges a reset to some default values ?

Any Solutions ?

Norbert