Plot TH1F when a script is running

Hi rooters,

I have a problem trying to plot a TH1F object during running of a macro.

I want to plot this histogram and then, after viewing it, I should set some parameters (using cin>>), for example the range of X axis, and then finish the script, using the parameters I’ve typed.

But the problem is that I can’t see the plot before the ending of the macro and so I can’t choose the right parameters.

Maybe I can’t do that…

Thanks in advance.



If you do:


just after:


It should make it.