Wow, I tried it again but nope: it hangs. My processor is (according to top) 
99% busy with root.exe and I see no plot. It does say
<TCanvas::MakeDefCanvas>: created default TCanvas with name c1
but only an empty canvas is shown. If I press CTRL-C twice the canvas shows 
only the x-axis (from 0 to 1.2) and I get the messages:
Hajo.
>From: Olivier Couet <Olivier.Couet_at_cern.ch>
>To: Hajo Molegraaf <hjausenet_at_hotmail.com>
>CC: roottalk_at_pcroot.cern.ch
>Subject: Re: [ROOT] Problem with TGraph
>Date: Mon, 3 Apr 2006 15:26:49 +0200 (CEST)
>
>
>Hi,
>
>I do not see such problem on my linux machine:
>
>=================================================================
>pcepsft15.cern.ch> root -n
>   *******************************************
>   *                                         *
>   *        W E L C O M E  to  R O O T       *
>   *                                         *
>   *   Version   5.11/01      3 March 2006   *
>   *                                         *
>   *  You are welcome to visit our Web site  *
>   *          http://root.cern.ch            *
>   *                                         *
>   *******************************************
>
>FreeType Engine v2.1.9 used to render TrueType fonts.
>Compiled on 3 April 2006 for linux with thread support.
>
>CINT/ROOT C/C++ Interpreter version 5.16.10, March 30, 2006
>Type ? for help. Commands must be C++ statements.
>Enclose multiple statements between { }.
>root [0] .! cat tv.C
>{
>   TVectorD v1,v2;
>   v1.ResizeTo(2);
>   v2.ResizeTo(2);
>   for( int i = 0; i < v1.GetNrows(); ++i ) {
>     v1[i] = i;
>     v2[i] = 2.0001e8;
>   }
>   TGraph* gr = new TGraph(v1,v2);
>   gr->Draw("A*");
>}
>root [1] .x tv.C
><TCanvas::MakeDefCanvas>: created default TCanvas with name c1
>root [2]
>=================================================================
>
>  It doesn't hang and I get the plot.
>
>  Cheers,      O.Couet
>
>On Mon, 3 Apr 2006, Hajo Molegraaf wrote:
>
> > Hi,
> > The following macro gets my root to hang:
> >
> > TVectorD v1,v2;
> > v1.ResizeTo(2);
> > v2.ResizeTo(2);
> > for( int i = 0; i < v1.GetNrows(); ++i )
> > {
> >    v1[i] = i;
> >    v2[i] = 2.0001e8;
> > }
> > TGraph* gr = new TGraph(v1,v2);
> > gr->Draw("A*");
> >
> > If I change the '2.0001e8' into '2e8' or smaller, it works. Any larger 
>value
> > gives this problem.
> >
> > root version:
> > Version   5.11/01      3 March 2006
> > Compiled on 3 April 2006 for linux with thread support.
> > CINT/ROOT C/C++ Interpreter version 5.16.10, March 30, 2006
> >
> > What am I doing wrong?
> >
> > Hajo Molegraaf.
> >
> > _________________________________________________________________
> > Nieuw op MSN Messenger 7.5: Dynamische achtergronden
> > http://www1.imagine-msn.com/Messenger/Audio.aspx
> >
> >
>
>--
>Org:    CERN - European Laboratory for Particle Physics.
>Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910
>E-Mail: Olivier.Couet_at_cern.ch                            Phone:   +41 22 
>7676522
>WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 
>7670300
>
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET