Hi Steffen, Could you clarify your request? Do you want the code to read this file or simply label your x axis with a time format? eg; TH1F h("h","test",13,0,65); h.GetXaxis()->SetTimeDisplay(); h.SetBinContent(1,771); etc.. h.Draw(); Rene Brun On Mon, 18 Mar 2002, Steffen Grohmann wrote: > Hello, > > I am looking for an option to read recoreded time values from an ascii > file to be used in a histogram or graph (see example). > > Example file: > 0:00:00 771 > 0:00:05 759 > 0:00:10 751 > 0:00:15 756 > 0:00:20 752 > 0:00:25 763 > 0:00:30 745 > 0:00:35 742 > 0:00:40 745 > 0:00:45 742 > 0:00:50 750 > 0:00:55 751 > 0:01:00 739 > > Regards, Steffen > -- > > +------------------------------------------------------+ > |Steffen Grohmann steffen.grohmann@cern.ch | > +------------------------------------------------------| > |CERN | > |European Organization for Nuclear Research | > |ST Division | > |CH-1211 Geneve 23 phone: +41 22 767-7079| > |Switzerland fax: +41 22 767-8767| > +------------------------------------------------------+ >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:46 MET