how to adapt qwt oscilloscoop example
===

I would like to adapt the oscilloscope example of qwt to plot two signals instead of one. For this I have created a second samplethread in the main.cpp and connect this to signal 2. After that I create a second curvedata. My problem is that the plot is skipping between the values of the signals, instead of making two seperate plots of signal 1 and signal 2.

I understand that the samplethread takes samples of the signal at a certain interval and puts these values in a signaldata which are in turn saved in a curvedata which is plotted in a plot. Therefore I need to create a seccond signaldata to save the values of the second samplethread, but I´m lost on how to do this. Can anybody help me with this?