Re: [ROOT]

From: Olivier Couet (couet@mail.cern.ch)
Date: Thu Jul 08 2004 - 18:27:22 MEST


Hi Bernd,

 Try:

{
   TCanvas *c1 = new TCanvas("c1", "c1",14,28,700,500);
   c1->SetFillColor(5);
   TFile f("hsimple.root");
   c1->SetFrameFillStyle(0);
   hpxpy->Draw();
   TBox *b = new TBox(0.,0.,2,1);
   b->Draw();
   b->SetFillColor(2);
   hpxpy->Draw("same");
}

 Olivier

On Thu, 8 Jul 2004, Bernd Reinhold wrote:

> Hi!
> 
> Please have a look at the attached canvas. I'd like to paint the background red for std_all>1.5 and avg_all<6, since dots in this area should be considered 'failing'.
> 
> How can I do this? Insert a Box without Border?? 
> I'll be happy about some hints
> 
> Bernd.
> 

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet@cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7677155



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