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

Click For Summary

Discussion Overview

The discussion revolves around an issue with MATLAB figures printed as EPS files, specifically the appearance of saw-tooth artifacts on vertical lines. Participants explore potential causes and solutions related to different MATLAB versions and operating systems.

Discussion Character

  • Technical explanation, Debate/contested, Meta-discussion

Main Points Raised

  • One participant, Angelos, reports the issue of saw-teeth appearing on vertical lines in EPS prints from MATLAB, regardless of the printing method used.
  • Another participant recalls experiencing a similar problem with an older version of MATLAB on Windows and suggests trying MATLAB on Linux as a possible solution.
  • Angelos confirms using MATLAB Release 2010b on Linux and seeks guidance on how to share the .fig file for further investigation.
  • A later reply provides instructions on how to upload or attach files in the forum, indicating a potential way for Angelos to share the .fig file.
  • A link to MATLAB's documentation on the print function is shared, although its relevance to the issue is not explicitly discussed.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the cause of the saw-tooth issue, and multiple viewpoints regarding the operating system and MATLAB version remain present.

Contextual Notes

The discussion does not clarify specific assumptions about the EPS printing process or the configurations of MATLAB that might influence the appearance of the artifacts.

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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
996
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
19K
Replies
12
Views
9K