
Originally Posted by
Uwe
Without colors it is often better not to print the canvas background ( or simply to save toner/ink ). If you don't have a canvas background you need a bounding box instead. That's all.
In your pictures the curves are painted outside of the canvas, what should never happen.
Did you overload any methods of Qwt classes and what do you mean by "fixing" negative values on the y axis in detail. Guess you do something illegal there.
Uwe
Thank you again.
I did not overloaded any method. I just copied the code of the bode example (the exportSVG method).
In my constructo I have
setAxisScale(QwtPlot::yLeft,0,80);
To copy to clipboard, switch view to plain text mode
which "fixes" the data to be positive on y axis.
However, when I export with the code I get such picture (which is different from what is painted on screen).
The data contains both positive and negative values, but only positive are painted on screen. Could this fact have some impact on exporting?
Bookmarks