bomben
1
Dear all,
I’ve tried several ways to get the stat box transparent:
TPaveStats *ps;
ps = (TPaveStats*)h1->GetListOfFunctions()->FindObject("stats");
ps->SetFillStyle(4000);
gPad->Modified();
gPad->Draw();
I saved canvas as png but the stat box is still not transparent.
And the stat box is not transparent in canvas too.
What am I doing wrong here?
Many thanks in advance and regards,
Marco
bomben
3
Thanks! …
I’m puzzled the magic-number here is ‘0’…
The method IsTransaparent cheks for >=4000 && <=4100…
http://root.cern.ch/root/html/TAttFill.html#TAttFill:IsTransparent
Regards,
Marco Bomben[/quote]
couet
4
bomben
5
now everything it’s clear! Many thanks!!!
Regards,
Marco
system
7