Hi, I need to do something like this


Basically I need to do two things:

1) Plot one or more curves

2) Draw a symbol at each sample and the line connecting two samples

I think the first can be done by attaching two QwtPlotCurve objects to the same QwtPlot. For the second I've tried this
Qt Code:
  1. QwtPlotCurve::CurveStyle style = (QwtPlotCurve::CurveStyle)(QwtPlotCurve::Lines|QwtPlotCurve::Dots);
To copy to clipboard, switch view to plain text mode 
but it does not work. Any ideas?