Yes, the size of the image is decreased by the forum software. But this doesn't matter with respect to the relative size of the plot elements. It is a fact that the axes/labels are getting smaller with increasing resolution. To proove it, I uploaded the original output image to an image hosting service:
http://img80.imageshack.us/img80/5470/bode300.jpg
I just changed line 216 of the mainwindow.cpp from the bode example and entered 300 dpi instead of 85 dpi. It is clearly visible that the axes are so small that they are barely visible if the whole image displayed on screen. Is this the desired behaviour of the function?
In an older version of my application I used the print() function and rendered the plot on a QImage. No matter how large the pixel size of the QImage was, the axes were rendered with the same relative dimension compared to the plot canvas. Meaning a picture of 300*200 pixels looked exactly the same as a picture of 3000*2000 pixels (of course extremely zoomed out to fit the screen). But of course the latter one had a higher resolution.
How can I achieve this result with the rendering implementation of Qwt 6? I just want the user to be able to export high-res pixel images.
Many thanks for this hint, I will give it a try![]()
Bookmarks