[ROOT] TGaxis divisions

From: Claire Gwenlan (cg@hep.ucl.ac.uk)
Date: Sat Dec 07 2002 - 17:21:08 MET


Hi,

I have a TGaxis which goes from 0.02 to 0.3 on a log scale. In this case, 
only one label appears on the axis (10^{-1}). Is it possible to make the 
axis label like 0.02,0.03,0.04....,0.2,0.3 instead? I've been 
investigating a few ndivs but I can't find any that work.


So I have:


TGaxis *Axis = new TGaxis(-2,0.02,-2,0.3,0.02,0.3,50510,"G");
Axis->Draw();


Can I make this work?


Thanks very much,

Claire



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