When I save a pie chart as pdf, the pdf has unknown white lines. To simplify the question, I modify the code to its most generic form as the following.
clc;
h=pie(1);
%set the pie chart color to black
h(1).FaceColor = 'k';
The reason I choose to use black color is the white lines contrast most with a black background. Please see the attached pdf figure.
I also find a similar thread having the same issue at this link: weird artifacts when saving pie chart as pdf. No solution is provided at this point.
My system configuration: macOS Sierra version 10.12. Matlab R2016b.
Any input is welcome. Thank you.
