Hello all
            I use plplot with C in Ubuntu 12.04.
My program generates data at regular intervals.I want to plot them using qtwidget driver.

The problem I face is after plotting one set of data the program does not execute further.
plend() is called at the end,but still the window is not closed.

Is there any way to close this window and continue the execution of the code and again generate another plot
when the next dataset is ready?

Please help
Thanks in advance