Hi, please, run consequently these two macros. The second one produces an error (illegal operation on windows) after I've updated root to 3.05 bins: Regards, Anton 1) { TGraphAsymmErrors *Graph = new TGraphAsymmErrors(); Graph->SetPoint(0,1,1); Graph->SetPoint(1,2,2); TFile File("graph.root", "RECREATE"); Graph->Write("Graph"); File.Close(); } 2) { TFile File("graph.root"); TGraphAsymmErrors *Graph = (TGraphAsymmErrors*) File.Get("Graph"); File.Close(); } http://www.smartquant.com
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:38 MET