Guess you want to interpolate the points after they have been translated to widget coordinates. QwtPlotCurve does this for you, when:

Qt Code:
  1. curve->setStyle(QwtPlotCurve::Lines);
  2. curve->setCurveAttribute(QwtPlotCurve::Fitted, true);
To copy to clipboard, switch view to plain text mode 

If you want to pass an individual fitter:

Qt Code:
  1. fitter->setFitMode(fitter.ParametricSpline);
  2. fitter->setSplineSize(...);
  3. curve->setCurveFitter(fitter);
To copy to clipboard, switch view to plain text mode 

Uwe