Effacer les filtres
Effacer les filtres

export_fig cannot export to larger than screen

4 vues (au cours des 30 derniers jours)
bloodtalon
bloodtalon le 25 Mar 2017
Modifié(e) : bloodtalon le 25 Mar 2017
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.

Réponses (0)

Catégories

En savoir plus sur Behavior and Psychophysics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by