RE: about TPaveStat

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Tue, 6 Jun 2006 10:02:30 +0200


Hi,

It works but by default 10 appears white. Try other colors, 15,2,6 23 ... You will see it changes.
O.Couet

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch
[mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Zhu FengRong Sent: Tuesday, June 06, 2006 7:21 AM
To: roottalk (Mailing list discussing all aspects of the ROOT system) Subject: [ROOT] about TPaveStat

Dear all,     

       In the attchaed figure,I want to change the color of object into white with command like below:

           TPaveStats *ptstats = newTPaveStats(0.7,0.8,0.9,0.9,"blNDC");
           ptstats->SetFillColor(10);
      the default color is 19, but it doesn't work if I change 10,I find
the class TPaveStat herits from the TPaveText...TAttFill,It shoulde do,but not,why?
      
     Thanks in advance!


with best wishes,
Fengrong Zhu
Institute of High Energy Physics,
C.A.S P.R.C
zhufr_at_ihep.ac.cn

--
Open WebMail Project (http://openwebmail.org)
Received on Tue Jun 06 2006 - 10:02:38 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET