Hi,

How to set limit symbol number in the curve?

I created symbol in my curve like below.
Qt Code:
  1. curve->setSymbol( new QwtSymbol( QwtSymbol::Style(1) ,
  2. QBrush( curveColor ), QPen( curveColor ),
  3. QSize( 3.0, 3.0 ) ) );
To copy to clipboard, switch view to plain text mode 

When I show the curve, it appears thousand of symbols in my curve. Like below picture.
Capture.jpg

But, I only want to show 20 symbol in my curve. How to implement it?

Thanks a lot!