MATLAB Why are there saw-teeth on my Matlab eps prints?

AI Thread Summary
MATLAB users are experiencing issues with exporting figures to EPS format, specifically encountering saw-tooth artifacts on vertical lines. The problem persists regardless of the method used for exporting, whether through the command line or the figure menu. One user noted that this issue may be more prevalent in older versions of MATLAB on Windows, suggesting that using a newer version or switching to Linux could resolve the problem. Another user offered to help by checking the .fig file if it could be shared, indicating that file uploads are possible through the forum's reply feature. The discussion highlights the need for troubleshooting EPS export issues in MATLAB and potential solutions involving version changes or file sharing for further assistance.
Angelos K
Messages
43
Reaction score
0
Dear all,

I generate some MATLAB figures that I want to print as eps. The figures look fine in the .fig format. When I open the eps, there is a problem. Wherever there is a vertical line (or part of function) the line shows tiny saw-teeth. I would like to attach I file but it seems one can't attach .eps here. Any idea?

The problem doesn't care whether I use
print -depsc './test.eps';
or the figure menu.

Cheers,
Angelos
 
Last edited:
Physics news on Phys.org
Hi

I remember that I had a similar problem. I am not sure but I thought that this problem only appears with an older Matlab in Windows. If you have the possibility to access Matlab in Linux try this. On the other hand I have the new Matlab 2012a under Windows. If you send me the .fig I can check what will happen when converting to eps
 
Thank you, unstable. I am using Linux. Release 2010b. How can I send you the .fig file?

Greetings,
Angelos
 
Actually, after clicking on "new reply" (left somewhere) not "quick reply" you should be able to upload / attach files.
 
Back
Top