Ø I tried getchar and gets functions, they work, but Canvas remains plain white all the time.
Put gPad->Update() before getchar. It should help.
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Dmitry Kotov
Sent: Friday, January 14, 2011 3:08 PM
To: roottalk_at_root.cern.ch
Subject: [ROOT] gets(S) issue
Hi all,
I've got TH2F which i divide into slices, say 100 slices. Each slice I draw as a TH1F. I need to draw 1 slice, then look at it , press anykey and see another on the same TCanvas. Instead ROOT just produceds 100 of them quickly, so the only one i can see is the 100th slice (last one).
I tried getchar and gets functions, they work, but Canvas remains plain white all the time.
Is there any way to manually renew the Canvas, or probably some other key-awaiting functions.
Thanks a lot,
Dmitry
Received on Fri Jan 14 2011 - 15:11:41 CET
This archive was generated by hypermail 2.2.0 : Fri Jan 14 2011 - 17:50:01 CET