Re: [ROOT] Draw options

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Feb 08 2003 - 15:53:33 MET


Hi Claire,

Make a TGraph instead of histograms.
See file in attachement

Rene

On Sat, 8 Feb 2003, Claire Gwenlan 
wrote:

> Hi,
> 
> I have a plot that I need to draw a shaded band on...
> 
> At the moment I have two seperate histograms, one for the upper limit of 
> the band and one for the lower limit, ad I do:
> 
> 
>   DataLO->SetFillColor(10);
>   DataHI->SetFillColor(kYellow);
>   DataLO->SetLineColor(kYellow);
>   DataHI->SetLineColor(kYellow);
> 
> 
>   DataHI->DrawCopy("histC");
>   DataLO->DrawCopy("histCsame");
> 
> 
> to get a smooth shaded band. However, rally I want the band to have the 
> points joined up with straight lines. So I tried using the "histL" option. 
> The results are attached. Instead of drawing the same kind of shaded band 
> but with straight lines instead of a smooth curve, I get both an "L" and a 
> "hist" option overlayed on top of each other.
> 
> 
> Is there any way at the moment to do what I want?
> I'm using root version 3.03/08 
> 
> 
> Thanks very much,
> 
> Claire
> 





This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET