필터 지우기
필터 지우기

Why did font size change when copying figure from matlab to Illustrator?

조회 수: 21 (최근 30일)
Hi there
I was copying some figures from matlab to illustrator and noticed that the font size decreased. Here is what I did: go to Edit in matlab figure---copy figure---right click paste in illustrator (or go to Edit in illustrator---paste in text). They all give the same results. Is there a way to keep the same image when copying from matlab to illustrator while at the same time still allow me to modify the figures?
Thank you very much
  댓글 수: 3
Shirley
Shirley 2019년 2월 11일
Hi Mark
Thank you very much for the suggestion. Unfortunately this doesn't work for me. The fonts indeed kept the same (I have tried this before). But at the same time, I lose the ability to modify the figures. Is there a way to keep the figures including the fonts the same but still allow me to modify the figures?
Thanks
Mark Sherstan
Mark Sherstan 2019년 2월 11일
I ran the following to generate the plot:
x = 1:10;
y = x.^2;
plot(x,y)
title('x^2','FontSize',16)
print(gcf, '-depsc2', 'test.eps')
And use the placed command in illustrator to load the image. All sizes appeared to line up correctly. I am running MacOS Mojave, MATLAB 2018b and Adobe Illustrator CS5.

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

채택된 답변

Ankit Dutta
Ankit Dutta 2019년 2월 20일
If you want to edit a figure in some other applications, save it as vector graphics file, using formats such as PDF or EPS. To export figures in Matlab to Illustrator, do the following:
Using GUI
  1. Select your figure. Now, choose File menu, Save As...
  2. Save the file as an .eps file (encapsulated postscript file)
  3. In Illustrator, you can open this .eps file
Using commands
You can either use saveas or print function to save the figure.
For example to save a figure as an EPS file using 'epsc' file format
saveas(gcf,'FigureFile','epsc')
Please refer to the documentation on ‘Save Figure to Open in Another Application’ for more information.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by