Hello,
I have realized that PDF from my previous post is not as it should be. When I inserted the line 'ylabels log l25' (or 'ylabels log l25b'), plot is not cropped in my PDF output nor in QGLE. The code I used was:
size 11.0 7.5
begin graph
scale auto
xaxis grid min 0.01 max 2000 log
yaxis grid min 10 max 200000 log
ylabels log l25
subticks on color grey60 lwidth 0.005
end graph
If you display it in QGLE, nothing seems to be the problem. If you export it to PDF from QGLE and then use View -> Zoom Auto, QGLE displays the whole page. This seems to be the QGLE issue since the gle.exe output was cropped. See the attached PDF.
Regards,
Budo
Plot not cropped when exporting to PDF from QGLE
Dear Budo,
Is it possible that this was due to an incorrect setting on QGLE's export dialog? On the "Export File" dialog in QGLE, there is a setting called "Page format". If this is set to "Portrait", then you get the output you've attached. If it is set to "Figure", then the output is cropped to the size of the figure (the size command at the top of the script).
It's just a guess, but is it possible that it was set by mistake to "Portrait"? Another possibility is that the script does not have a size command at the top.
Dear Jan,
You are right, my "Page format" was set to "Portrait", I shouldn't have made such a novice mistake.
Another peculiar thing is that QGLE behaves differently before and after the export. I had to do the "Zoom Auto" to see that this setting was wrong. It would be great if the "Zoom Auto" is automatically executed the moment QGLE finished the export. It would be a great guidance for other users not to make the same mistake I did.
Best regards,
Budo
The main view of QGLE should not be affected by the size you select in the export dialog. I will fix this bug in a later GLE version. (Maybe not yet in 4.2.4 as it does not seem critical.)