Borrar filtros
Borrar filtros

export_fig cannot export to larger than screen

4 visualizaciones (últimos 30 días)
bloodtalon
bloodtalon el 25 de Mzo. de 2017
Editada: bloodtalon el 25 de Mzo. de 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.

Respuestas (0)

Categorías

Más información sobre Behavior and Psychophysics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by