Filter löschen
Filter löschen

Problem of saving .fig file as .pdf file

1 Ansicht (letzte 30 Tage)
Ming
Ming am 19 Mär. 2015
Kommentiert: Jan am 30 Mär. 2015
Hi, everyone
I need to save .fig file as .pdf file. Previously, I used command
set(gcf,'PaperOrientation','landscape'); set(gcf,'PaperUnits','centimeters'); set(gcf,'PaperPositionMode','auto'); set(gcf,'PaperPosition', [0 0 1 1]); saveas(gcf, 'test', 'pdf');
and it worked fine. However, when I updated my MATLAB to 2014b and 2015a, all numbers on y-axis of .pdf file are overlapped with the edge of the diagram
Is there any way I can fix it?

Antworten (1)

Ming
Ming am 19 Mär. 2015
does anyone know?
  7 Kommentare
Ming
Ming am 30 Mär. 2015
Hi, I finally found the problem, it is the font I used for the numbers on y-axis, if use the default font "Helvetica", it will be fine, if use font "Calibri" all numbers on y-axis of .pdf file will be overlapped with the edge of the diagram.
Jan
Jan am 30 Mär. 2015
Please do not bump your question by posting pseudo-answers. And please do not post answers as comments. Thanks.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by