EPS looks pixelated when exporting figure

I'm trying to export an eps from matlab but it keeps appearing pixelated on the resulting PDF. I'm using:
print -despc my plot.eps
The result in my latex document looks like:
Is there anyway to stop this? As when I load it in the figure window it renders properly and not pixelated.

답변 (1개)

Jan
Jan 2013년 2월 5일

13 개 추천

Do you use the OpenGL renderer in Matlab? If so, try Painters:
set(gcf, 'Renderer', 'Painters');
This is required to get vector graphics in the EPS exort.
If this does not work, export a PNG: Even with pixels the output is clean.

댓글 수: 2

wallflower
wallflower 2021년 1월 13일
Thank you so much for your response! It saved my day!
Zahra Hajati
Zahra Hajati 2022년 12월 2일
Thank you, saved my day as well!

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

카테고리

도움말 센터File Exchange에서 Printing and Saving에 대해 자세히 알아보기

태그

질문:

2013년 2월 5일

댓글:

2022년 12월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by