Re: [ROOT] gStyle->SetTimeOffset

From: Dariusz Miskowiec (D.Miskowiec@gsi.de)
Date: Wed Sep 03 2003 - 19:12:34 MEST


Hi Olivier,

Yes, this is what I expect. I hope it works not only for
the time offset exactly equal to 0, but also 57, for example.
Am I right?

Thanks and best regards
Dariusz Miskowiec

Olivier Couet wrote:
>  Hi Dariusz,
> 
>  I put in attachment the PS file produced with your macro with the new fix 
> I just did in order to handle correctly a time offset equal to 0. Let me 
> know if it is what you except seems to me it is correct.
> 
>  Cheers,          Olivier
> 
> 
> On Thu, 21 Aug 2003, Dariusz Miskowiec wrote:
> 
> 
>>Dear Rooters,
>>
>>It seems that
>>
>>gStyle->SetTimeOffset(0);
>>hi=new TH1F("nic","nic",10,0,1e8);
>>hi->GetXaxis()->SetTimeDisplay(1);
>>hi->GetXaxis()->SetTimeFormat("%y:%m:%d");
>>hi->Draw();
>>
>>produces very different numbers on the horizontal axis when
>>ran with root 3.03/07 and 3.05/05 on CERN lxplus. The newer
>>root version gives a wrong result.
>>
>>Best regards
>>Dariusz Miskowiec
>>
>>
> 
> 


-- 
+-----------------------------------------------------------------+
+  Dariusz Miskowiec                  E-mail: D.Miskowiec@gsi.de  +
+  GSI, Planckstr. 1                  Phone:  0049-6159-712-133   +
+  D-64291 Darmstadt                  Fax:    0049-6159-712-989   +
+-----------------------------------------------------------------+



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