I have the following polygon:
generated using this code (extracted from my previous question):
data = Table[{x, (x - 5)^2 + 3}, {x, 0, 10}];
p1 = ListLinePlot[data, Filling -> {1 -> {15, {Blue, None}}}];
p1 = Normal@p1 /.
Polygon[x_] :>
Polygon[x,
VertexColors -> (Blend[{RGBColor[0, 0, 1, .5],
RGBColor[0, 0, 1, 0]}, #] & /@ Rescale[x[[All, 2]]])];
polygon = First[Cases[Normal@p1, _Polygon, Infinity]];
Graphics[{EdgeForm[None], polygon}, AspectRatio -> 1]
The image above was generated via Export["test.png",%]. However, if I export to pdf instead, I see the boundaries of the polygons. This is a screenshot of the pdf:
How can I get rid of these blue lines?
This post seems related, but the solution there was to raster the polygon. That would make sense for thousands of polygons, but in this case it's only 7 of them so I suspect it should be possible to get a true vector format pdf out of this.





epsand then open in Preview to convert topdf. The lines do not show. – Bob Hanlon Jan 30 '17 at 18:09SetOptions[$FrontEnd, PrintingStyleEnvironment -> "Working"]method without success. – Johu Feb 01 '17 at 07:25