Hi ,
I am trying to do the following thing:
Double_t e_nu[7]={5,7,10,14,18,22,30};
TH1F *nu_test = new TH1F(“nu_test”,“true nu’s”,6,e_nu);
for(int i=0;i<nentries_gen;i++){
nu_test->Fill(mcl_neu_e);
}
nu_test->GetXaxis()->SetRangeUser(5.0,7.0);
nu_test->Draw();
I set the xrange between 5.0 and 7.0. But the histogram that I draw actually has the xaxis from 5.0 to 10.0 (i.e. two bins). Does it have anything to do with the fact that it is having problem with drawing just one bin ?
thanks debdatta.