I want to look histograms in a loop one by one. But I found the histograms can’t be drawn until the end of the loop. So I can only see the last histogram. How can I draw histograms one by one in a loop? Thank you very much!
The following is a very simple program. If you run it, you will find what I mean.
You could use the same script that I posted above.
When you get the first histogram, you will find that you could do no operations on the pad. For example, you can’t change the axis range with mouse. When you switch to another window (if you use linux) and switch back, you’ll find that everything on pad is gone. The pad becomes a totally white board. In other word, the pad is not “active”.