Bernard,
I cannot reproduce your problem. Please indicate the version in use
and provide an example as explained at:
http://root.cern.ch/root/roottalk/RoottalkRules.html
Rene Brun
Bernard Andrieu wrote:
>
> Hello,
>
> is there a way to propagate the gStyle options to all subpads of a given pad?
>
> To be more specific, I want to display the results of several (say 4) histograms
> fits on a multi-zone plot. If I do:
>
> gStyle->SetOptStat(10000001); gStyle->SetOptFit(111);
> c1.Clear() ; c1.Divide(2,2);
> c1.cd(1); h1->Draw();
> c1.cd(2); h2->Draw();
> c1.cd(3); h3->Draw();
> c1.cd(4); h4->Draw();
>
> the stat boxes of the displayed histograms shows the usual Entries, Mean, RMS
> and not the results of the fit, in contrast to what is expected. To obtain what
> I wish, I need to add for each subpad, ie after each c1.cd(..) command:
> gStyle->SetOptFit(111);
>
> Is there a simpler way to obtain the same result?
>
> Thanks for help.
> --
> Best regards,
> Bernard Andrieu
> -----------------------------------------------------------------------
> ("-/")_.-'"-._
> LPNHE, 4 pl. Jussieu . . ; -._ )-;-,_) email: andrieu@in2p3.fr
> Tour 33, RdC (v_,)' _ )-.\ -' Tel: +33 (0)1 4427 2321
> 75252 PARIS CEDEX 05 _.- _..-_/ / ((.' Fax: +33 (0)1 4427 4638
> ((,.-' ((,/
> -----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET