problems creating gifs in a macro

From: Judith Katzy (katzy@nanalpc.phy.uic.edu)
Date: Thu Jul 01 1999 - 19:53:02 MEST


hi rooters,

I tried to save histograms as .gifs. If I run the following macro, 
the test.gif file is created, but empty:

{
TCanvas canvas("test","test",10,10,600,700);
TH1F hh("histogram","histogram",100,0.,99.);
hh.Draw();
canvas.SaveAs("test.gif");
}

if I execute 'canvas.SaveAs("test.gif");' directly from the cint command 
line it does work without problems.

I'm working with root version  2.21/08 on RedHat Linux 5.2 .

thanks for help,
Judith



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:35 MET