Disappearing graphs

My group has been using a program to display multiple histograms in one window in root. The program ran fine for a few days, but now all of a sudden the graphs get cleared as soon as they’re made, so we’re left with a blank canvas. The code hasn’t changed. Has anybody else had an experience like this?

I’ve attached the program if anyone wants to try it.
script_i.C (5.68 KB)

you forgot to post the data sets necessary to run your scipt.


Thanks for your quick response. One of our guys fixed the problem this afternoon, so it’s not an issue anymore.