TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to include a MATLAB figure in LaTeX. The MATLAB figure has this text:

t1 = ['\phi = ', num2str(phi(k)),'^\circ'];

and the figure looks fine but when I \includegraphics the figure into LaTeX the degree symbol (\circ) changes to another Greek letter, a gamma I think.

My LaTeX code looks like this

\caption{Insert caption}

Also the colors of the figure disappear.

Any suggestions?

share|improve this question
This seems to be a problem on MATLAB's side rather than LaTeX. Without seeing the actual image (or the entire code used to generate the image in MATLAB), there's not much that can be done. If you're interested in LaTeX formatting of text within a graphic, perhaps using psfrag would be a suitable alternative? – Werner Sep 25 '11 at 15:20

It depends on the way you are using / printing the figure.

  1. You shouldn't use the way Save as instead use:

    print -depsc -loose filename.eps
  2. Or you can use \pdfinclusioncopyfonts=1 in your tex-file.

  3. Or you can use matfig2pgf Now you need the package pgf.

But this question is a little bit off topic. Maybe stack exchange mathematics can help you.

share|improve this answer

There are several possibilities to convert Matlab's .fig files into LaTeX figures. You could also try matlab2tikz. I must confess I have not tried it yet, but I'm pretty sure it works well.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.