Problem with white lines showing up when exporting surf plots

조회 수: 5 (최근 30일)
Pontus Vikstål
Pontus Vikstål 2019년 12월 21일
답변: Image Analyst 2019년 12월 23일
How can I get rid of white lines that appear when you export a surf plot as eps or pdf?
I've already checked out the following answer which appears to be 4 years old and does not work! https://se.mathworks.com/matlabcentral/answers/290313-why-is-vector-graphics-chopped-into-pieces
Here is an example of the artifact that shows up when you export a surf plot!
z = peaks();
figure
surf(z,'EdgeColor','none','FaceColor','interp')
print(gcf,'-depsc','-painters','out.eps');
There are white lines showing up in the figure!
Here is a zoom on a particular section of the figure above where you can see the horrendous export Matlab performs.
How do I fix this?

답변 (1개)

Image Analyst
Image Analyst 2019년 12월 23일
I suggest you call tech support. The developers are aware of the "white lines issue" and have been trying to fix it but evidently it's really tricky. They've solved it partially but not 100% yet.

카테고리

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

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by