Re: [ROOT] TGraph with integers

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Nov 07 2001 - 17:38:36 MET


Hi Miro,

Easy to implement. I do not think that providing an interface also for shorts
or chars will be useful.
I will add the additional function with ints in the next iteration.

Rene Brun


Miroslav Helbich wrote:
> 
>  Hi all,
> 
>  I think that it should be a feature of TGraph to accept vectors of
> integers.
> 
> I'm using root version 3.01/05 on SuSE Linux 6.3 (i386)
> 
>                                         Miro Helbich
> 
> {
> Int_t v1[3] = {1,2,3};
> Int_t v2[3] = {4,5,6};
> TGraph *gr = new TGraph(3,v1,v2); // this doesn't work
> gr->Draw("A*");
> }



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:06 MET