RE: [ROOT] <TGX11TTF::SetColor>

From: Olivier Couet (Olivier.Couet@cern.ch)
Date: Mon Sep 20 2004 - 10:35:29 MEST


Can you send a small example reproducing the problem ? (a small macro we
can use to reproduce the faulty .root file)

Thanks,         O.Couet

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch] On Behalf Of
pawan@rcf.rhic.bnl.gov
Sent: Monday, September 20, 2004 10:12 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] <TGX11TTF::SetColor>


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



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET