Re: [ROOT] tick marks and labels

From: Heather Kelly (heather@lheapop.gsfc.nasa.gov)
Date: Tue Mar 25 2003 - 17:14:42 MET


Actually this looks like an even better posting to RootTalk about 
SetNdivisions:

http://root.cern.ch/cgi-bin/print_hit_bold.pl/root/roottalk/roottalk02/2790. 
html?SetNDivisions#first_hit

At 08:58 AM 3/25/2003 -0500, Sandhia Bansal wrote:
>Hello,
>
>We are using ROOT 3.02/07.
>
>I am trying to make a 2-D plot with xaxis in log scale and yaxis in linear.
>
>I am using NDivision=205 to produce the correct tick marks on the 
>xaxis.  However the I cannot get labels to
>print out in the format that I want.  I would like these to be:
>         10**-10    10**-8    10**-6    10**-4    10**-2    10**0
>where 10**-10 and 10**-2 are at the edges.
>
>For the xaxis I cannot get either of the tick marks or labels printed 
>correctly.
>The xaxis is log-scaled and should have 4 divisions with each division 
>having 9 sub-divisions.  So, I am trying
>to use NDivision=904 - however this does not produce what I expect.
>The y-axis labels need to be
>         10**0    10**1    10**2    10**3    10**4
>where 10**0 and 10**4 are at the edges.
>
>Thank you
>Sandhia



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