Re: Log scale and axis adjustments

From: Olivier Couet <couet_at_mail.cern.ch>
Date: Thu, 14 Jul 2005 09:51:51 +0200 (CEST)

Hi Boris,

> 1. i would like to draw graph in log scale, but in the same time to see only
> power numbers in x and y axis (for example, instead of 10^-23, 10^-22, 10^-21
> to have -23, -22, -21 numbers on the axises)
> how can i do it ?

That is not possible with the current implementation of log scales in TGaxis.

> 2. i would like to have more ticks with numbers in one of the axis(x axis
> which is in log scale), how to accsess it ?

See $ROOTSYS/tutorials/logscales.C. What you need is SetMoreLogLabels().

Cheers, Olivier

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet_at_cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7670300
Received on Thu Jul 14 2005 - 09:51:56 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:10 MET