RE: Two 1D histograms with statistics from both in one canvas

From: Fine, Valeri <fine_at_bnl.gov>
Date: Thu, 28 May 2009 08:51:43 -0400


Is it possible to avoid two vertical "legs" crossing the X-axis at x=-3 and x=3 http://root.cern.ch/root/html/tutorials/hist/transpad.C_0.png ?  

Thank you


From: owner-roottalk_at_root.cern.ch on behalf of Olivier Couet Sent: Thu 5/28/2009 7:20 AM
To: Marc Achille Escalier
Cc: AJAY KUMAR DASH; roottalk_at_lxbuild091.cern.ch Subject: RE: [ROOT] Two 1D histograms with statistics from both in one canvas

" How technically to access to the box stat of each histogram and move it ? "

See:
http://root.cern.ch/root/html/tutorials/hist/transpad.C.html

-----Original Message-----
From: Marc Escalier [mailto:escalier_at_lal.in2p3.fr] Sent: Thursday, May 28, 2009 1:16 PM
To: Olivier Couet
Cc: AJAY KUMAR DASH; roottalk_at_lxbuild091.cern.ch Subject: Re: [ROOT] Two 1D histograms with statistics from both in one canvas

 >Use the option SAMES instead of SAME

Hi,

the only inconvenient stuff with that, is that one need to move with the mouse the stat box. (And one could think that there is only one box created because they just are superposed). How technically to access to the box stat of each histogram and move it ?

regards



Olivier Couet a écrit :
>
> Use the option SAMES instead of SAME
>
>
>
> *From:* owner-roottalk_at_root.cern.ch
> [mailto:owner-roottalk_at_root.cern.ch] *On Behalf Of *AJAY KUMAR DASH
> *Sent:* Thursday, May 28, 2009 1:04 PM
> *To:* roottalk_at_pcroot.cern.ch
> *Subject:* [ROOT] Two 1D histograms with statistics from both in one
> canvas
>
>
>
> Hi,
>
> Is there any way to plot two one dimensional histograms in one
> canvas with the statistic from both the histograms?
> My problem is, it shows the statistics of one histogram only. I would
> like to have statistic from both the histograms
> in that canvas. Thanks in advance.
>
> With regards
> Ajay
>
> --
> -----------------------------------------------------
> AJAY KUMAR DASH
> RESEARCH SCHOLAR
> IOP - BHUBANESWAR
> ORISSA , INDIA
> ---------------------------------------------------
>
Received on Thu May 28 2009 - 14:54:28 CEST

This archive was generated by hypermail 2.2.0 : Thu May 28 2009 - 17:50:02 CEST