White lines appear in postscript
4 views (last 30 days)
Show older comments
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.
(It is NOT the rendering issue that has been resolved here: <http://www.mathworks.nl/support/solutions/en/data/1-2KQK7X/index.html?product=ML&solution=1-2KQK7X>)
thanks a lot for any suggestions to resolve this! P
0 Comments
Accepted Answer
Jan
on 1 Nov 2011
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.
More Answers (1)
Daniel Shub
on 1 Nov 2011
Have you tried export_fig on the FEX: http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig
It tends to fix most problems with printing/saving figures.
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!