RE: Empty 2D Histogram Draw

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Mon, 4 Apr 2005 11:33:59 +0200


See: http://couet.home.cern.ch/couet/root/ht04.html OC

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910

E-Mail: Olivier.Couet_at_cern.ch                            Phone:   +41 22
7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22
7670300

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch
[mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Jorge A. Benitez
Sent: Monday, April 04, 2005 9:35 AM
To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] Empty 2D Histogram Draw

Hi,
I've created a 2D histogram, by adding some others histograms. When I
plot it, I can only "see" something using the "lego" option, otherwise I
just get some empty plot, I would like to use the "contz" option
instead. Why is this happening? Is there anyway to force the output to
show up?, I know the histogram is not empty but the lego plot is not the
one I would like to have.
thanks,
Jorge

part of the code I'm using:

    TH2F *FPlus = (TH2F*)hist_pp->Clone("result");
    FPlus->Add(hist_pp,-1.0);
    FPlus->Add(hist_pp,0.25);
    FPlus->Add(hist_pm,-0.25);
    FPlus->Add(hist_mp,-0.25);
    FPlus->Add(hist_mm,0.25);
    FPlus->Draw("lego");
Received on Mon Apr 04 2005 - 11:34:05 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET