>In a macro, you can select the bins range for the X, Y or Z axis
>via TAxis::SetRange.
>For example, for a 1-D histogram h
> Root > h->GetXaxis()->SetRange(34,67);
> Root > h->Draw();
sometimes we set view range as follows:
h1 = new TH1S("name", "title", 150, -10, 20);
:
:
h1->GetXaxis()->SetRange(h1->GetXaxis()->FindBin(-5),
h1->GetXaxis()->FindBin(5));
h1->Draw();
-- Yasuhiro SHIRASAKI : Experimental Particle Physics, JLC Team Graduate school of Science, TOHOKU University 980-8578 Japan. Phone: +81-22-217-6727 Fax: +81-22-217-6728