Hi Sandhia While we're waiting for a response from RootTalk.. Two suggestions and one request.. First the request.. can you send along your errorBarsMain.h file as well so that one could attempt to run this script themselves? I have no real idea.. as I don't usually attempt to make pretty plots.. but.. here are two suggestions anyway: In reading this.. it sounds as though ROOT will attempt to optimize the number of tick marks for you: http://root.cern.ch/cgi-bin/print_hit_bold.pl/root/roottalk/roottalk97/0136. html?SetNDivisions#first_hit They suggest using a negative value for the parameter passed to SetNdivisions to avoid this optimization. My only other idea would be to attempt to use TGaxis instead which seems to allows you greater control over the axis - there are a couple examples of its usage in the ROOTSYS tutorial directory. Heather 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