RE: how to get contour

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Thu, 23 Apr 2009 15:28:04 +0200


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



ROOT 5.22/00 (trunk_at_26997, Jan 05 2009, 10:56:00 on win32)

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

-- 

************************************************************************
Xianguo Lu DESY-HERMES Notkestr. 85 22607 Hamburg Germany Tel: +49-40-89982770 Office: Room 113, Building 55a
************************************************************************
Received on Thu Apr 23 2009 - 15:28:13 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 23 2009 - 17:50:01 CEST