Re: [ROOT] ntuple draw draw color selection

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Oct 21 2003 - 21:34:37 MEST


Hi Jonathan,

Objects generated by TTree::Draw inherit their graphics default 
properties from the Tree graphics properties.
If you want to set the default fill color for all the generated 
histograms, do
  tree.SetFillColor(somecolornumber);
  tree.Draw("var");

Rene Brun

On Tue, 21 Oct 2003, 
Johnathan Wang wrote:

> Hi, I was wondering if there is a way to choose the color selection, as
> well as range, used by ntuple->Draw ()
> 
> Thanks,
> John
> 
> 



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