Hi everybody
It's my first project with QWT, i'm triyng to display a cloud of dots but the problem that only one point is displayed at (0, 0).

Qt Code:
  1. #include <qapplication.h>
  2. #include <qwt_plot.h>
  3. #include <qwt_symbol.h>
  4. #include <qwt_plot_curve.h>
  5.  
  6. class Plot : public QwtPlot
  7. {
  8. public:
  9. Plot();
  10. ~Plot();
  11. private:
  12. QwtPlotCurve* Curve;
  13.  
  14. };
  15.  
  16. Plot::Plot():Curve(new QwtPlotCurve("MyCurve"))
  17. {
  18. double x[5]={25.0, 32.0, 45.0, 68.0, 91.0};
  19. double y[5]={25.0, 32.0, 45.0, 68.0, 91.0};
  20.  
  21. this->setAxisScale(xBottom,0.0, 150.0);
  22. this->setAxisScale(yLeft,0.0, 150.0);
  23.  
  24.  
  25. this->Curve->setRawSamples(x, y, 5);
  26. this->Curve->setPen(QPen(Qt::red));
  27.  
  28. this->Curve->setSymbol(new QwtSymbol(QwtSymbol::XCross, Qt::NoBrush,
  29. QPen(Qt::red), QSize(5, 5)));
  30.  
  31. this->Curve->setStyle(QwtPlotCurve::NoCurve);
  32.  
  33.  
  34. this->Curve->attach(this);
  35.  
  36.  
  37. }
  38.  
  39. Plot::~Plot()
  40. {
  41. delete Curve;
  42. }
  43.  
  44.  
  45.  
  46. int main(int argc, char **argv)
  47. {
  48. QApplication a(argc, argv);
  49.  
  50. Plot *p=new Plot();
  51. p->show();
  52.  
  53. return a.exec();
  54. }
To copy to clipboard, switch view to plain text mode 
any one can explain me what goes around ?

Best regard