Dear rooters,
I am using ROOT 5.16.13, gcc version 3.4.6, (Red Hat 3.4.6-3).
My goal is to draw an histogram with X-axis from 0 to 360 with nice looking divisions like (0,90,180,270,360).
If I do :
TH1F *toto = new TH1F("toto","toto",100,0,360); toto->GetXaxis()->SetNdivisions(404,'N'); toto->Draw();
I can't make it work (neither on other versions of root by the way). I tried it interactively, and found that :
TH1F *toto = new TH1F("toto","toto",100,0,360); toto->GetXaxis()->SetNdivisions(404,kFALSE); toto->Draw();
does the job.
Is this the expected behavior ?
Thank you for your help.
Regards,
Francois-Xavier
-- Girod Francois-Xavier CEA Saclay DSM / DAPNIA / SPhN Orme des Merisiers Bat 703 piece 133 C 91191 Gif-sur-Yvette France tel : (+33) 1 69 08 74 29 fax : (+33) 1 69 08 75 84Received on Wed Oct 11 2006 - 10:18:31 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET