필터 지우기
필터 지우기

Problem of saving .fig file as .pdf file

조회 수: 1 (최근 30일)
Ming
Ming 2015년 3월 19일
댓글: Jan 2015년 3월 30일
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?

답변 (1개)

Ming
Ming 2015년 3월 19일
does anyone know?
  댓글 수: 7
Ming
Ming 2015년 3월 30일
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 2015년 3월 30일
Please do not bump your question by posting pseudo-answers. And please do not post answers as comments. Thanks.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by