Hi Sebastien,
see:http://hep1.snu.ac.kr/pub/computing/RootHtmlDoc/HowtoStyle.html
In your case,do:
.x decoration.C
TFile f("file.root")
gROOT->ForceStyle();
htemp.Draw()
Rene Brun
On Thu,
2 Oct 2003, Sebastien Greder wrote:
>
> hi Rooters,
>
> I encountered a pb using some gStyle Setters.
>
> I put and example code on : /afs/in2p3.fr/home/g/greder/public/
>
> decoration.C and file.root.
>
> Just do : root file.root
> and then: .x decoration.C
> and : htemp->Draw().
>
> I would have expected the histogram to be filled with yellow color
> and the stat box with the "29" and the title with the "42" one.
>
> Are these setter still not active or am I missing something ?
>
> cheers,
>
> seb.
>
> running on RH 7.2, gcc 2.96 with ROOT version 3.05.07
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET