Disappearing histograms

Hi,

I have created a GUI in which I create histograms interactively and display them. The histograms appear in the GUI but then disappear again. Have you any idea how to prevent this?

Thanks,

Lisa

It is difficult to tell you what is going wrong without a little example showing the problem.

My GUi is linked to code in H1’s analysis framework and so, if I send a copy to you, you would not be able to run it. I open up a diaog box, and enter 3 text entry fields; chain name, array name and plot name. I then click a Draw button, these arguements are passed into a function that creates the histogram and then displays it on the active canvas. However, when the dialog box closes, the histogram disappears, too.

Regards,

Lisa

May be you deleted the histogram by mistake ?

Thank you. That is one thing that I didn’t think to check.

Lisa