Re: [ROOT] 3D graph from data file

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Feb 18 2004 - 19:10:23 MET


Hi,

Use class TGraph2D.
Using one of the constructors, you can read directly a file into the object:

   TGraph2D(const char *filename, const char *format="%lg %lg %lg", Option_t
*option="");


See an example of TGraph2D in tutorial graph2dfit.C

Rene Brun

ew fgff wrote:
> 
> Hi,
> 
> I want to plot a 3D graph from a data file created by
> a c-code. Could you please suggest me how to do this.
> 
> Thank you for your suggestion.
> 
> Manoj
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail SpamGuard - Read only the mail you want.
> http://antispam.yahoo.com/tools



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET