Hello Uwe,
Regarding my first post, if the plot size is fixed (800x600) would it be enough to add
setAxisScale
(QwtPlot::xBottom,
1,
800,
1);
// 800 ticks widesetAxisScale
(QwtPlot::yLeft,
-299,
300,
1);
// 600 ticks heightsetCanvasLineWidth(0);
setAxisScale(QwtPlot::xBottom, 1, 800, 1); // 800 ticks wide
setAxisScale(QwtPlot::yLeft, -299, 300, 1); // 600 ticks height
setCanvasLineWidth(0);
To copy to clipboard, switch view to plain text mode
in order for every sample of data to be drawn in separate consecutive pixels?
Besides the QwtPlotCurve pen width and the canvas line width, are there any other parameters that would need to be adjusted in order to get the desired behavior?
Thanks for your help
catto
Bookmarks