pcolor eps white line / diagonal polygon issue: Any sensible fix?!

1 visualizzazione (ultimi 30 giorni)
You know the issue - there's countless threads dedicated to it, but I've still not found a suitable fix. My pcolor plot (actually m_pcolor from the m_map toolbox, but this should make no difference) needs to be output as a high quality vector image.
No matter which function I use (built in 'print', or 'export_fig' or 'savefig' from the FileExchange) I can't get rid of the white line artefacts. Yes, I realise that this is due to the image software used to open the file and how it renders the figure, but changing that isn't an option as this is for a journal figure and so the fix needs to be a 'real' fix. See an example of the problem here: http://www.matlab-cookbook.com/recipes/0050_Plotting/0040_2D_Data/blurry_eps.html
This suggestion (<http://www.mathworks.com/matlabcentral/fileexchange/43271-pcolor-eps-fix>) may actually work, but its not feasible for my figure which is large and has an enormous amount of patches or shapes that need fixing.
Any suggestions!? Thanks.
  4 Commenti
Seth
Seth il 13 Ott 2015
This is absolutely ridiculous. I cannot create publication quality .eps figures, which severely limits the value of MATLAB. Mathworks needs to address this issue NOW. And I don't buy all the garbage about it being an image viewer issue. If I make the same figure with r2014a then I don't have the issue. In r2014b+, .eps files are not being saved properly.
Dene Farrell
Dene Farrell il 21 Dic 2016
I previously answered Here.
[Basically it says: Another work around is to use illustrator programatically fix_matlab_vector_graphics]
but only Mathworks can really fix this. And it appears that they still have not in 2017a

Accedi per commentare.

Risposte (1)

Kelly Kearney
Kelly Kearney il 22 Gen 2015
It's hardly an ideal solution, but my way of dealing with this is to export two images: one with only the pcolor object visible (no axes, lines, text, etc) to to a hi-resolution .png, and one with everything else to a vector format (.pdf usually, but it should work for .eps too). Then I use Adobe Illustrator to combine the two and save as a .pdf/.eps file. A bit of a pain, and of course it requires access to Illustrator, but it does result in the desired high-quality vector image without any white-triangle artifacts, as needed for a journal submission.
  1 Commento
Initial Conditions
Initial Conditions il 22 Gen 2015
Ok thanks for the suggestion Kelly. Probably out of the question as I don't use Illustrator. I have Corel Draw but only use at a novice level really.

Accedi per commentare.

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by