I copied the code from the bode example in my program.
No errors, anyway the result of the printing is wrong, because
1) the axis are not shown (the ticks are shown)
2) the content of the plot, not the box, is shifted down.
I put the code for completeness.
Qt Code:
void OptimumPlot::printOut() { printer.setOutputFileName(path); printer.setCreator("Solar Calc"); if ( dialog.exec() ) { QwtPlotPrintFilter filter; { filter.setOptions(options); } print(printer, filter); } }To copy to clipboard, switch view to plain text mode
Bookmarks