SavePict /W=(0,0,0,0) for full page export (PDF)
I am trying to export a layout which is set to A4 size to a PDF file with option /W=(0,0,0,0) for a full page, but Igor still cuts the page to the size of the graph inside the layout (which is smaller than the full page). Is it possible that I do something wrong.
I just type
SavePict /W=(0,0,0,0)
in the Command Window.
Thank you!
January 14, 2016 at 11:59 am - Permalink
January 14, 2016 at 04:11 pm - Permalink
The feature of SavePICT/W=(0,0,0,0) on a page layout writing the full page was added in Igor Pro 6.10 in 2008. However, I can find no version of Igor in which it worked correctly. From 6.10 through 6.34, it exports a full but blank page. From 6.35 through 6.37, it acts as if /W were omitted and exports the part of the page that is used plus a margin.
After spending quite some time looking into fixes for this problem, I decided not to fix it for Igor Pro 6.x as the fix would likely create new bugs. I have included below a user-defined function that you can use instead. I plan to remove the statement about /W=(0,0,0,0) from the Igor6 manual.
The feature does appear to work correctly in Igor7.
January 15, 2016 at 11:50 am - Permalink