Re: reading a file

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Tue, 2 Sep 2008 08:41:14 +0200


You can use the TGraph constructor reading from a file, eg

   TGraph g("myfile.dat");
   g.Draw("al")

Rene Brun

manungu kiveni wrote:
> Hi,
>
> I am a file that conaints two differents vectors saved in txt or dat
> format. I want to be able to read the components of these two vector
> in a separate script. How can I acieve this? Suggestions and Ideas are
> welcome.
>
> Joseph
>
>
> ------------------------------------------------------------------------
> Envoyé avec Yahoo! Mail
> <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html>.
> Une boite mail plus intelligente.
Received on Tue Sep 02 2008 - 08:41:49 CEST

This archive was generated by hypermail 2.2.0 : Tue Sep 02 2008 - 11:50:02 CEST