Ugly arrow heads after MATLAB export
Afficher commentaires plus anciens
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 commentaires
Nike Dattani
le 19 Juil 2015
Nike Dattani
le 19 Juil 2015
Jan
le 20 Juil 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
le 21 Juil 2015
Modifié(e) : Walter Roberson
le 30 Août 2015
Réponses (2)
Jan
le 19 Juil 2015
0 votes
There are dozens of other submissions for drawing arrows. Did you try them?
10 commentaires
Nike Dattani
le 19 Juil 2015
Jan
le 20 Juil 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
le 1 Août 2015
Jan
le 1 Août 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
le 2 Août 2015
Jan
le 2 Août 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
le 4 Août 2015
Modifié(e) : Walter Roberson
le 30 Août 2015
Nike Dattani
le 24 Août 2015
Taras Stanislavchuk
le 2 Sep 2015
Modifié(e) : Walter Roberson
le 2 Sep 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.
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!