Re: [ROOT] Log scale

From: cstrato (cstrato@aon.at)
Date: Wed Nov 27 2002 - 23:39:39 MET


Dear Rene

Thank you for this hint.

Best regards
Christian


Rene Brun wrote:

> Hi Christian,
> 
> We support only log10 scale (TPad::SetLogx, SetLogy)
> 
> TGaxis has a special constructor where you can use a function to map the 
> axis values.
> See the second TGAxis constructor and the example gaxis3a.
> 
> Rene Brun
> 
> 
> On Wed, 27 Nov 2002, cstrato wrote:
> 
> 
>>Dear Rene
>>
>>Since I am just writing my own methods to draw graphs, hists,
>>e.g. MyClass::DrawGraph(Int_t n, Double_t *X, const char *logbase)
>>where logbase can be: "0", "ln", "log2", "log10"
>>I have currently to convert array X to log values myself.
>>Is there a simple way to force the axes to display values as log
>>scale (when I supply the  min and max vlaues for the axes)?
>>
>>Thank you
>>Christian
>>_._._._._._._._._._._._._._._._
>>C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a
>>V.i.e.n.n.a       A.u.s.t.r.i.a
>>_._._._._._._._._._._._._._._._
>>
>>



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