Hi Rooters, I would like to use TGraph::TGraph(Int_t n, Double_t *x, Double_t *y). So I tried the example 19 (Simple Graph with axis titles). I changed the line Float_t x[n], y[n]; to Double_t x[n], y[n]; But all i got was the following error message: Error: Can't call TGraph::TGraph() in current scope FILE:/export/nccfs7/home/johann/./testgraph.C LINE:21 Possible canditates are... filename line:size busy function type and name (compiled) 0:0 0 public: TGraph TGraph(void); (compiled) 0:0 0 public: TGraph TGraph(Int_t n,Float_t* x=0,Float_t* y=0); (compiled) 0:0 0 public: TGraph TGraph(TGraph&); Warning: Undeclared symbol gr. Automatic variable allocated FILE:/export/nccfs7/home/johann/./testgraph.C LINE:21 *** Interpreter error recovered *** root [1] It looks to me like it is not possible to call the right constructor. I'm using version 2.21/08 on sparc-sun-solaris2.6 Regards, Johann
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET