Patches in Matlab are glued from separate triangles. Their edges are usually not visible, but when I export the figure to a vector graphic format, they can be clearly visible (the whole picture is not displayed, just an enlarged part)

The code to create this MWE was:
xx = [0:1:100, 100:-1:0]; yy = [zeros(1,101), ones(1,101)]; p1 = patch(xx,yy,'b'); print('testPatch','-dpdf','-painters')
The alternative fill function behaves the same. Is there a way to avoid this error or do I need to live with bitmaps in this case?
EDIT: One workaround is to cut out the area instead of filling it. This is obviously not always possible, but in my case it worked beautifully, and I could stick with vector graphics. Corresponding FEX submission http://www.mathworks.com/matlabcentral/fileexchange/30733-hatchfill
matlab vector-graphics matlab-hg2
Fliegender zirkus
source share