Re: problem with drawing two histgrams in the same canvas

From: Zhu FengRong <zhufr_at_ihep.ac.cn>
Date: Fri, 31 Mar 2006 12:02:45 +0800


Hi,

 You can use the Statistics of Options in the Canvas you are making.

On Thu, 30 Mar 2006 15:19:44 +0800 (CST), Xianguo Lu wrote
> 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
>
>
>
>
>
> 你 知 道 2006 年 最 火 爆 的 电 子 邮 箱 吗 ?
> 多 达 1.1 亿 中 国 人 选 择 网 易 2000 兆 免 费 邮 箱 , 抢 注 再 得 280 兆 超 大 网 盘

with best wishes,
Fengrong Zhu
Institute of High Energy Physics,
C.A.S P.R.C
zhufr_at_ihep.ac.cn

-- 
Open WebMail Project (http://openwebmail.org)

 
Received on Fri Mar 31 2006 - 06:02:48 MEST

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