Export setup to pdf

조회 수: 12 (최근 30일)
seb
seb 2013년 4월 23일
I've been using export setup to save triplot of grid mesh .fig to .pdf. The .pdf works like .fig, which can keep the details for zoom in. However, when I plotted a grid mesh with much more triangular cells, the .pdf has been compressed as .jpeg. Any tips to keep the export setup work without compression? Thanks!

채택된 답변

Jan
Jan 2013년 4월 23일
편집: Jan 2013년 4월 23일
When the figure's property 'RendererMode' is set to 'auto', many 3D objects enable the OpenGL renderer. This renderer cannot create a vector output, such that you get an pixel image. Solution: Set the renderer manually to 'Painters':
figure('Renderer', 'Painters'); % At the creation
Or before the export:
set(gcf, 'Renderer', 'Painters');
Note: This problem has been discussed repeatedly in this forum, such that searching for "pdf pixel" would be faster than waiting for someone, who answers this again.
  댓글 수: 1
seb
seb 2013년 4월 23일
Many thanks Jan. I've tried the set(gcf,...) and it works very well!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by