[ROOT] Adding pre-existing histograms into TPad

From: jpmarott@email.arizona.edu
Date: Mon Jul 08 2002 - 21:58:58 MEST


Hello,
I am trying to draw several (4) histograms that have already been booked,
filled, and written to file into a pre-existing, subdivided TCanvas object.
 The ROOT manual says that this can be done quite easily, but I'm completely
unclear as to how.  I would assume that you could say something like:
histname = TPad->Draw(); 
 
but this seems to give me a segmentation fault.  Is there something that
I completely missed?  If there's any easier way of displaying multiple histograms
on the same canvas, please, let me know.
Thanks,
Joe Marotta



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:59 MET