[ROOT] Draw options

From: Claire Gwenlan (cg@hep.ucl.ac.uk)
Date: Sat Feb 08 2003 - 13:13:34 MET


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