Re: [ROOT] Superimpose rotated Histogram

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jun 27 2001 - 11:17:25 MEST


Hi Otto,

Thanks for posting this nice macro. It would be nice if you could extend it ::)
to:
 - support logZ in the 2-D histogram --> logy in the 1-D projection
 - take into account the option "z" drawing the color palette
 - ideally support lox/logy
 - include the drawing options with eg. error bars

If you implement this, I could introduce this macro as a function in
THistPainter
that could be automatically selected with a new option , eg "colz,projxy"

Rene Brun


 Otto.Schaile@Physik.uni-muenchen.de wrote:
> 
> Hi Frank,
> 
> attached a simple macro doing something like you ask for. After some
> pollish it might produce a pretty picture. Note it needs the hsimple.root
> from the tutorials.
> Cheers
> Otto
> 
> On Tue, 26 Jun 2001, Frank Simon wrote:
> 
> > Hi Rooters,
> >
> > does anybody know how to draw one histogram rotated by 90 degrees
> > into the frame of another histogram?
> > The problem is the following:
> >
> > I have a 2D scatter plot, and want to draw projections on the right
> > and top side of the frame, both of these  histograms going into the
> > frame. (So, one of the histograms is rotated 90 degrees , the other
> > one 180 degrees)
> >
> > Any ideas?
> >
> > Greetings
> >
> > Frank
> >
> 
> Otto Schaile            Sektion Physik, LMU Muenchen
> Phone: +49 89 289 14070     Am Coulombwall 1, D-85748 Garching, Germany
> GSM:   +49 160 1553598
> FAX:   +49 89 289 14072     EMail: Otto.Schaile@Physik.Uni-Muenchen.DE
> 
>   --------------------------------------------------------------------------------
> 
>                        Name: ProjectBoth.C
>    ProjectBoth.C       Type: Plain Text (TEXT/PLAIN)
>                    Encoding: BASE64



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:50 MET