[ROOT] TGraph with integers

From: Miroslav Helbich (helbich@mail.desy.de)
Date: Wed Nov 07 2001 - 17:28:35 MET


 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