Giuseppe,
create the histogram first,
TH1F hist( "hist", "My histogram", 20, 0, 100 );
and then "pipe" the data into that,
tree.Draw( "x>>hist", "x>0" );
Sven
On Mittwoch, Oktober 31, 2001, at 04:04 Uhr, Giuseppe Lo Re wrote:
> Hi people,
> using a line like
> tree.Draw("x>>h1","x>0")
> Draw produces an histogram h1.
> How can I set the bin number and the limits?
> Thanks,
> Giuseppe
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:05 MET