Originally Posted by
Uwe
First of all you need to have samples, that are ordered according to the x or y coordinates and are displayed as lines.
Well, I have this:
QPolygonF points;
To copy to clipboard, switch view to plain text mode
And then I added 100 million points to that as:
points << QPointF(x,y);
To copy to clipboard, switch view to plain text mode
Would that work? If Yes, then is having this code:
curve
->setPaintAttribute
(QwtPlotCurve::FilterPointsAggressive,
true);
curve->setPaintAttribute(QwtPlotCurve::FilterPointsAggressive, true);
To copy to clipboard, switch view to plain text mode
Right after attaching curve to plot should work?
And if Not, then what exactly is the right way to do it?
I am asking this because there is no real tutorial/manual about the above functionality, just dry reference descriptions of functions/features.
Bookmarks