Feed on
Posts
Comments

i had always been irked by how easy it was to make figures in matlab, but how crummy they looked when saved.  i felt slightly embarrassed handing in such ugly figures for my homework; a journal editor would be seized with anaphylactic shock if i tried submitting matlab figures.

i’ve finally stumbled upon the solution, however: the eps level-2 file format.  try saving your figures like such:

saveas(gcf,’my_figure.eps’,'epsc2′);

prepare to be amazed. figures fonts no longer make you want to put out your own eyes; diagonal lines show no evidence of pixelation, even when you’re zoomed in.

Stumble it!

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

2 Responses to “make high-quality, publication-level figures in matlab”

  1. on 01 Oct 2008 at 8:15 am Tom

    Indeed saving it as a vector format will do the trick, but if a Matlab figure contains too many items it “magically” transforms into a bitmap again.

    Be aware.

  2. on 13 Oct 2008 at 7:00 pm Papa

    Pls, how can i insert a figure in MATLAB. That is inserting a graph into another

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.