フィルターのクリア

export_fig cannot export to larger than screen

4 ビュー (過去 30 日間)
bloodtalon
bloodtalon 2017 年 3 月 25 日
編集済み: bloodtalon 2017 年 3 月 25 日
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 件)

カテゴリ

Help Center および File ExchangeBehavior and Psychophysics についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by