White lines appear in postscript

조회 수: 9 (최근 30일)
Peter
Peter 2011년 11월 1일
When creating a postscript file from a figure in which I plotted a colored surface using surf, straight and diagonal white lines appear in the postscript. The straight ones actually look like gridlines (appearing at random locations) and they only appear on the screen, not on the hard copy print.
thanks a lot for any suggestions to resolve this! P

채택된 답변

Jan
Jan 2011년 11월 1일
Where do these lines appear? When printed to paper or when displayed to the screen?
For the later see: http://www.mathworks.com/matlabcentral/answers/15388-artifacts-in-figures-exported-as-pdf-from-matlab If you have two neighboring areas in a PS or PDF and display them with antialiasing, a small line with the background color must appear between the edges. There is simply no optimal choice.
This is a general problem of vector formats. Even the pixel-graphics created by OpenGL miss some points on the edges under rare conditions.

추가 답변 (1개)

Daniel Shub
Daniel Shub 2011년 11월 1일
It tends to fix most problems with printing/saving figures.
  댓글 수: 1
Peter
Peter 2012년 1월 23일
i'm using a (adapted version of) export_fig indeed.

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

카테고리

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