Hello!

I'm using Qwt to plot a curve in a ECG-style. In other words, the curve is ploted from X=0 to X=1000 (example) and when the X=1000 is recognized, it should come back to X=0 and plot from there once again.

Now just that I know how to do. The problem is that in the way that I know how to do it, two problems arise: first, the "come back plotting" is connected by a line stead of really starting once again. In other words, the new ploting in X=0 is is connected by a horizontal line to the end of the ploting, in X=1000:
Captura_de_tela.jpg

Not just that: in order to continue ploting in the end of the graph, I need to continuously erase, point by point, the previous line ploted. Is not good to erase everything and being once again; the erasing process must be at the same speed of the new plot.

Does somebody knows how to do that?

Thanks!