Hi, Both macros below create empty ps files. This is 3.10/02 under win2000 (win32gdk version). What to do ? Thanks, Marc void Plot() { gROOT->Reset(); TCanvas c1; TPostScript ps("Beautiful_histo.ps",111); TH1F h1("h1","wysiwyg",100,0,1); h1.Fill(0.5,1); h1.Draw(); c1.Update(); ps.Close(); } void DumpCanvas() { gROOT->Reset(); TCanvas c1; TH1F h1("h1","wysiwyg",100,0,1); h1.Fill(0.5,1); h1.Draw(); c1.Update(); c1.Print("Equally_beautiful_histo.ps"); }
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET