Hi Antoni,
The histogram produced by TTree::Draw inherits its attributes from the
tree.
You can do:
h800->SetMarkerStyle(21);
h800->SetMarkerColor(kRed);
h800->Draw("x1:x2");
Rene Brun
On Thu, 21 Nov 2002, Antoni Munar wrote:
>
> Hi,
>
> In a tree, when I draw directly, lets say:
>
> TTree *h800; ....
>
> h800->Draw("x1:x2");
>
> in the plot that appears I can change the attributes of the axis since
> htemp is created. However, if I want change the attributes of the markers
> (color and size), I can not do it..
>
> can someone indicate me how to do it or point to same example..
>
> thanks a lot..
>
> ###################################################
> Antoni Munar Ara
> Department of Physics and Astronomy
> David Rittenhouse Laboratory
> University of Pennsylvania
> 209 South 33-rd Street
> Philadelphia, PA (USA)
> 19104-6396
>
>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:20 MET