Re: 2 plots in the same canvas

From: Tom Roberts <tjrob_at_fnal.gov>
Date: Wed, 08 Aug 2007 08:55:55 -0500


I have a Root macro, HistoRoot.C, that implements a GUI interface to generating histograms and X-Y plots from TNtuple-s. It reads any number of TFile-s and can plot expressions using variables from any TNtuple found in any of them; it can also convert an ASCII file into a TNtuple. It implements sliders to impose interactive cuts on the plots. And yes, it can combine multiple plots onto a single canvas.

It is available as part of my G4beamline release, and will soon be released as a standalone program. If you want a pre-release copy just ask. My users and I have found it to be quite useful, and much easier to use than TBrowser or C++ code. It works on Root 5.12 and 5.14, and probably other versions.

Tom Roberts

Daniel Andrade Leon wrote:
> Hi ROOTERS !!!
>
> I'm new in ROOT.
> Please help me...!!!
> I have one ntuple with information about Ideal Geometry and 4 ntuples with information about Misaligned Geometry.
> I have to plot about 60 variables that are in the tree named "ZEEL2" inside the ntuples and change the cuts or scale of some of the variables in order to get a good plot.
> After that, I have to compare the ideal and the misaligned geometry by plotting both in the same canvas.
>
> Thanks for your help.
> ;)
>
> Daniel
>
>
>
>
>
Received on Wed Aug 08 2007 - 15:56:15 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 08 2007 - 23:50:02 CEST