Re: [ROOT] gStyle->SetTimeOffset

From: Olivier Couet (Olivier.Couet@cern.ch)
Date: Wed Sep 03 2003 - 16:17:49 MEST


 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
> 
> 

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet@cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7677155





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