Re: [ROOT] Time axis with TGraph .....

From: Olivier Couet (Olivier.Couet@cern.ch)
Date: Tue Sep 02 2003 - 09:27:43 MEST


Hi,

 Can you send me a small macro showing what you are doing ?

 Cheers,       Olivier Couet

On Tue, 2 Sep 2003, zaldy wrote:

> 
> Dear ROOTers,
> 
> I am interested to apply the time axis. One example uses the Histogram.
> http://root.cern.ch/root/HowtoTimeAxis.html
> 
> I just could not follow the example if change to TGraph.
> I wanted to make an offset at Feb. 15, 2003. Maybe my range of the 
> coordinates are too high.
> 
> For example after converting via mktime, values of the XTime values are of 
> the order of 10 to the 8 or so (1058855025 seconds). How do we deal with 
> this large number for it to be plotted in the time axis? Do we need to 
> subtract with the offset?
> 
>      (i.e., 1058855025 seconds - Feb. 15, 2003 in secondds) ?
> 
> 
> Thank you?
> 
> 

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