Re: [ROOT] marker when a tree is drawn

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jul 29 2003 - 22:37:44 MEST


Hi,

The histogram generated by TTree::Draw inherits its properties from the
Tree attributes.
do:
  myTree->SetMarkerStyle(style); etc

Rene Brun

On 
Tue, 29 Jul 2003, Stilianos Kesisoglou wrote:

> Hi,
> 
>     I am having a problem to set the marker size and style when I draw directly from a tree:
> 
>         myTree->Draw("var1:var2",cut);
> 
>     If I try to set the marker attributes for the histogram "htemp" there is no effect. The same happens
> if I try to do it interactively with the mouse.
> 
>     When I first book a TH2F histogram (named "histo") and then I do:
> 
>         myTree->Draw("var1:var2>>histo",cut);
> 
> then I can set the marker attributes for the histogram "histo".
> 
>     Any way to do it directly on the first case without booking a histogram?
> 
>     Thanks!
> 
> Stelios.
> 



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