As shown in the example presented in this section:
http://root.cern.ch/root/html/THistPainter.html#HP16
You should do gPad->Update() after hh->Draw(...)
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
On Behalf Of LU Xianguo
Sent: Thursday, April 23, 2009 3:23 PM
To: roottalk
Subject: [ROOT] how to get contour
Dear rooters,
I tried to get the contour after plotting a TH2F but without success.
My code is attached, and the running result is
CINT/ROOT C/C++ Interpreter version 5.16.29, Jan 08, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .x test.C
<TCanvas::MakeDefCanvas>: created default TCanvas with name c1
null contours!
(int)0
thanks in advance!
cheers,
Xianguo Lu
--Received on Thu Apr 23 2009 - 15:28:13 CEST
************************************************************************
Xianguo Lu DESY-HERMES Notkestr. 85 22607 Hamburg Germany Tel: +49-40-89982770 Office: Room 113, Building 55a
************************************************************************
This archive was generated by hypermail 2.2.0 : Thu Apr 23 2009 - 17:50:01 CEST