Hi,
I would like to know how to plot two histograms in the same frame but with
the statistics box for each one.
I have tried with the option "same" but I get only the box of the first,
like here:
gStyle->SetOptTitle(0);
c1->SetFillColor(0);
gStyle->SetOptStat(1101);
gStyle->SetStatX(0.35);
gStyle->SetStatY(0.8);
gStyle->SetStatFont(63);
gStyle->SetStatFontSize(15);
TCanvas *c1 = new TCanvas("c1");
histo1->SetLineColor(2);
histo1->Draw();
histo2->SetLineColor(4);
histo2->DrawCopy("same");
c1->Modified();
and if I use the option "sames" than I get only the box of the second one,
but never the both boxes together.
Thanks for any help
Claudia Tomei
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:52 MET