Re: [ROOT] Length of axis divisions

From: Andreas Zoglauer (zog@ipp.mpg.de)
Date: Wed Mar 17 2004 - 19:57:14 MET


Hi Olivier,

With your method I get 360.89 as upper limit - but I need exactly 360

Thanks for your help,
Andreas



Olivier Couet wrote:
> Hello,
> 
>  The way to do it would be:
> 
>    gr->GetHistogram()->SetAxisRange(0, 360, "X");   
>    gr->GetHistogram()->SetAxisRange(0, 200, "Y");
>    gr->GetXaxis()->SetNdivisions(-504);    
> 
>  a negative number of divisions meaning that the divisions should not be 
> optimize. But doing that I do not get exactly 360 as upper limit... 
> That's weird ... I'll investigate.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET