[ROOT] TProfile nbin

From: Mariusz Sapinski (Mariusz.Sapinski@gamum2.in2p3.fr)
Date: Thu Jul 24 2003 - 17:44:14 MEST


 Hello,
  I would like to have a profile of histogram with a given number of bins 
Nbin.

 If i do just:
TProfile *yShp04 = yShape04->ProfileX("yShp04",0,200);

 then i get 35 bins (how this default is calculated?)
 (while
 TH2F *yShape04 = new TH2F("yShape04","yShape04",nbin3, minbin3y,maxbin3y, 200, 0, 30);
 )

I tried to do:

	 TProfile *yShp04 = new TProfile("yShp04","yShp04",50,-35.,0.,"");    
         yShp04 = yShape04->ProfileX("yShp04",0,200);

but this doesn't work as i want. What is wrong?

-- 
Mariusz



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET