problem with drawing two histgrams in the same canvas

From: Xianguo Lu <sinov_at_163.com>
Date: Thu, 30 Mar 2006 15:19:44 +0800 (CST)


 Dear Rooters,

I want to draw two histgrams in one canvas:

h1->Draw();

gStyle->SetOptStat(0);

h2->Draw("same");

gStyle->SetOptStat(0);

For the first one, the StatBox does not appear, but for the second, the StatBox is still displayed. How can I make the StatBoxes in the two histgrams NOT being displayed?

Thanks in advance!

Cheers!

Xianguo Lu

PKU, China     Received on Thu Mar 30 2006 - 09:19:55 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET