Re: [ROOT] Q1: hist->Fit ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu May 23 2002 - 08:16:30 MEST


Hi Frederic,

You can :
 -use the mouse on the Y axis to select the range
 -or call h->SetMaximum(max), h->SetMinimum(min)

Rene Brun

Frederic Sarazin wrote:
> 
> Dear Rooters,
> 
> do you know how to change the Y scale for a 1D histogram...  (ex: to
> see a weak peak close to a huge one...).
> 
> We tried hist->GetYaxis() then axis->SetRangeUser(), but this doesn't
> seem to work for the Y axis of a TH1 as it works for a TH2.
> 
> Thanks,
> 
> Fred



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:53 MET