Hi Brett,
this has been fixed in the head (we just commented out the warning).
Cheers, Fons.
Brett Viren wrote:
> Was this ever resolved?
>
> I'm finding the same problem in plotting a "lego2" TH2D. I'm using
> this style settings:
>
> gROOT->SetStyle("Plain"); gStyle->SetTitleBorderSize(0);
> gStyle->SetPalette(1);
>
> gStyle->SetCanvasDefH(425); gStyle->SetCanvasDefW(550);
> gStyle->SetCanvasBorderSize(0); gStyle->SetOptStat(111111);
>
>
> I get many many lines like:
>
> Warning in <TGX11TTF::SetColor>: color with index 29254 not defined
>
>
> -Brett.
>
>
> pawan@rcf.rhic.bnl.gov writes:
>
>
>> Hi ROOTers
>>
>> I am drawing some set of histograms (1D) and using the color option
>> (more color) to color them. After that I save that canvas as a
>> .root file.
>>
>> Then when I open that root file like this
>>
>> <root> TFile f("filename.root","r") <root> f.ls() <root> TFile**
>> inc_minbias_allcent.root TFile* inc_minbias_allcent.root KEY:
>> TCanvas c1;1 c1 <root> c1->Draw();
>>
>> when I draw them again the it gave these error messages: Warning
>> in <TGX11TTF::SetColor>: color with index 235 not defined Warning
>> in <TGX11TTF::SetColor>: color with index 233 not defined Warning
>> in <TGX11TTF::SetColor>: color with index 229 not defined Warning
>> in <TGX11TTF::SetColor>: color with index 230 not defined Warning
>> in <TGX11TTF::SetColor>: color with index 232 not defined Warning
>> in <TGX11TTF::SetColor>: color with index 236 not defined Warning
>> in <TGX11TTF::SetColor>: color with index 233 not defined Warning
>> in <TGX11TTF::SetColor>: color with index 229 not defined Warning
>> in <TGX11TTF::SetColor>: color with index 230 not defined Warning
>> in <TGX11TTF::SetColor>: color with index 232 not defined Warning
>> in <TGX11TTF::SetColor>: color with index 235 not defined
>>
>> and in the canvas I dont see those colors
>>
>> I am using Version 4.00/08 of root
>>
>> Any help??
>>
>> Regards Pawan
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
WWW: http://www.rademakers.org/fons/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET