export_fig cannot export to larger than screen
1 view (last 30 days)
Show older comments
Since I am exporting using different non-default fonts, I am stuck with using export_fig to export to PDF. It seems export_fig, however, has no option to save at a standard paper size. The best code I found to work for me tries to extend it to 8.5x11 on my screen and save it but fails since it doesn't go that high in the y direction and I am stuck at 9.19 inches and am producing 8.5x9.19 figures. My code is this.
fig = gcf;
fig.Units = 'inches';
fig.Position=[0,0, 8.5, 11];
fig.PaperUnits = 'inches';
fig.PaperSize = [8.5 11];
fig.PaperPosition = [0 0 8.5 11];
export_fig -dpdf test.pdf -transparent -nocrop
Also, the font title changes in the figure window but not in the output PDF. export_fig bug?
I have checked out some similar ones like
https://www.mathworks.com/matlabcentral/answers/308954-how-to-force-output-of-large-figure-to-not-be-scaled-or-how-to-properly-print-a-pdf-whose-dimensi
but they didn't help.
0 Comments
Answers (0)
See Also
Categories
Find more on Behavior and Psychophysics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!