Save figure with high-quality

조회 수: 4 (최근 30일)
BN
BN 2020년 7월 25일
편집: BN 2020년 7월 26일
Dear all,
I want to save my figure with high quality. I need the quality of the figure do not reduce by zooming. I tried something like:
print(gcf,'GP_MON','-dpng','-r2080');
% or
export_fig (gcf, '-zbuffer','-r1080');
% or
print(gcf,'GP_MON','-dtiffn','-r2080');
But after I insert the output in Microsoft office and zoom I see the quality of the figure reduce significantly.
What I have:
also my plot items turns blury too, when zoomin:
What I need:
Both zoomed by 6400%
Also, I want to have low volume of file size (like 500 kb).
So is this possible?

채택된 답변

Walter Roberson
Walter Roberson 2020년 7월 25일
When you save to png, it is guaranteed that you will not get the behavior that you want. The only vector file formats available are pdf, eps, and svg .
  댓글 수: 2
BN
BN 2020년 7월 26일
I am really thank you, here is my high-quality output using -dsvg:
print(gcf,'GP_MON','-dsvg');
Thank you
BN
BN 2020년 7월 26일
편집: BN 2020년 7월 26일
Dear Walter,
The volume of -dsvg is about 2 MB so I tried -dpdf which gave me very high-quality just like -dsvg but with very suitable volume (200 KB) but I don't know how to have just figure, not a pdf file (in order to use it in microsoft office word)
Do you have information about this issue? Thanks

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Exploration에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by