Christopher A. Stevens wrote:
>
> After doing tree->Draw("var"), I get a TH1F histogram with TPaveStats.
> I know I can just drag the stats box around with mouse, but is there an
> "easy" way to control placement of this object from within a macro,
> without having to manually make my own and add the necessary text to it?
>
> Thanks
> Chris Stevens
Hi Christopher,
The TPavestats parameter (position, size, etc) can be controlled via
the current TStyle pointed by gStyle.
void SetStatColor(Int_t color=19);
void SetStatStyle(Style_t style=1001);
void SetStatBorderSize(Width_t size=2);
void SetStatFont(Style_t font=62);
void SetStatX(Float_t x=0);
void SetStatY(Float_t y=0);
void SetStatW(Float_t w=0.19);
void SetStatH(Float_t h=0.1);
Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET