Ugly arrow heads after MATLAB export
Mostra commenti meno recenti
In the figure window my arrows look beautiful (see top panel of attached image), but when I export to EPS the arrows become horrendously ugly (see bottom panel of image). How do I fix this?
I used to use the ARROW.m package from the FEX, but it was very bug-infested (I'd run a figure-generating script once, and the arrow would look beautiful, then I'd run it again with no changes made and it would come out extremely small and ugly). Also I've read that it doesn't work well in 2014b, which is the only version I have available.

5 Commenti
Nike Dattani
il 19 Lug 2015
Nike Dattani
il 19 Lug 2015
Jan
il 20 Lug 2015
So "then I'd run it again with no changes made and it would come out extremely small and ugly" concerns the export. It is strange, that the results of the epxort are such different, when the exact same procedure is applied before. Could you provide a piece of code which reproduces the problem?
Nike Dattani
il 21 Lug 2015
Modificato: Walter Roberson
il 30 Ago 2015
Risposte (2)
Jan
il 19 Lug 2015
0 voti
There are dozens of other submissions for drawing arrows. Did you try them?
10 Commenti
Nike Dattani
il 19 Lug 2015
Jan
il 20 Lug 2015
The purpose of this answer is to find out, if the problem concerns the arrow function or the EPS export. Perhaps this does not get clear immediately. It is very warm here today and after midnight...
Did you try export_fig from the FileExchange?
Nike Dattani
il 1 Ago 2015
Jan
il 1 Ago 2015
This can still be a problem of the tool to display the EPS file. Please attach the FIG and the EPS file to your question.
Nike Dattani
il 2 Ago 2015
Jan
il 2 Ago 2015
My company restricts the access to DropBox due to the security implications. It would be kind, if you attach the files in the forum as usual.
Nike Dattani
il 4 Ago 2015
Modificato: Walter Roberson
il 30 Ago 2015
Nike Dattani
il 24 Ago 2015
Taras Stanislavchuk
il 2 Set 2015
Modificato: Walter Roberson
il 2 Set 2015
I also had a problem with arrowhead distortions in eps figure converted from matlab. I just tried arrows.m code from here http://www.mathworks.com/matlabcentral/fileexchange/37371-arrows--generalized-2-d-arrows-plot and it helped with the issue, at least in my situation. But I haven't tested it a lot, though.
@Nike: I hesitate to delete the "answer", because the discussion in the comments is useful. But I'm going to push the question from time to time.
I cannot check the different FEX submissions for you, because I do not have your Matlab version 2014b. Having some example code to reproduce the problem would be a benefit also.
Categorie
Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!