Uwe,

Thank you for your reply. According to the article, Bilinear interpolation is what I am looking for, but I have troubles with switching from default nearest neighbour resampling mode to the bilinear interpolation.

Qt Code:
  1. QVector <double> values;
  2. for(int i=-25; i<25; i++)
  3. {
  4. values.push_back(i*i);
  5. }
  6. QwtMatrixRasterData *m = new QwtMatrixRasterData;
  7. m->setValueMatrix(values,5);
  8. m->setResampleMode(m->BilinearInterpolation);
To copy to clipboard, switch view to plain text mode 

changing resample mode in that way doesn't seem to give any changes to data presentation.