Re: [ROOT] How Can I draw a TArray?

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Jul 23 2002 - 14:39:11 MEST


Hi Ki-young,

  you can do it in two steps:

TArrayD d;
//fill d
TVectorD v(d.GetSize(), d.GetArray());
v.Draw()


Cheers, Fons.




On Sun, 2002-07-21 at 07:25, Choi Ki-young wrote:
> TMatrix has a member function, Draw(). But I can find a method 
> Drawy TArray. Can I get a graph of TArray?
> 
> 
> -- 
> Sincerely, Ki-young
> 
> pub 1024D/B4446BBF 2002-02-27 Choi Ki-young <xenus@gnu.org>
> Fingerprint: 99AF B7C5 2D4E B965 B3AA  A725 A710 F606 B444 6BBF
> 
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:00 MET