gets(S) issue

From: Dmitry Kotov <dmitriy.kotov_at_gmail.com>
Date: Fri, 14 Jan 2011 17:08:09 +0300


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:08:36 CET

This archive was generated by hypermail 2.2.0 : Fri Jan 14 2011 - 17:50:01 CET