Re: Error in <TGX11TTF::WriteGIF>

From: <asaddiqu_at_ualberta.ca>
Date: Wed, 9 Jun 2010 11:17:14 -0600


Hi Brun,

   yeh this older version is actually part of cdf software. Anyways, following is script that gives "Error in <TGX11TTF::WriteGIF>"

===================================================//start

    TCanvas * c1 = new TCanvas("c1","MyCanvas", 0,0,700,500);     c1->cd();
    Int_t n=5;
    Double_t x[n] = {0.09,0.09,0.09,0.08,0.1};     Double_t y[n] = {1,2,3,4,5};
    gr = new TGraphAsymmErrors(n,x,y);
    gr->Draw("AC");
    Int_t n2 = 5;
    Double_t xMC[n2] = {0.09,0.09,0.09,0.09,0.09};     gr2 =new TGraphAsymmErrors(n2,xMC,y);     gr2->SetLineWidth(2);
    gr2->Draw("");
    c1->SaveAs("Mydir/Myhist.gif");

=====================================================//End

I would appreciate your help.

Cheers, Asif

Quoting "Rene Brun" <Rene.Brun_at_cern.ch>:

> Please send the shortest possible script reproducing your problem.
> I also strongly suggest to move to a more recent version like 5.26 or 5.27.
> The version that you use is more than 10 years old!
>
> Rene Brun
>
> asaddiqu_at_ualberta.ca wrote:
>> Hi rooters,
>> I use Version 4.00/08 and whenever is try to write a gif it says:
>> Error in <TGX11TTF::WriteGIF>: cannot write file: myhist.gif
>>
>> Any one can help?
>>
>> Cheers, Asif
>>
>
>
Received on Wed Jun 09 2010 - 19:17:24 CEST

This archive was generated by hypermail 2.2.0 : Wed Jun 09 2010 - 23:50:01 CEST