Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a figure in matlab with axes that I would like to label with latex symbols like $\delta$ on the x axis and $\epsilon$ on the y axis. How can I place these latex notations into the axis labels?

share|improve this question
2  
although tex and latex interpreter in matlab are not proper. try these xlabel('Symbol $\delta$','interpreter','latex'); and ylabel('Symbol $\epsilon$','interpreter','latex');. see xlabel doc. and What is the best way to include Matlab graphics? –  texenthusiast Apr 5 '13 at 18:44
    
If you're planning to export your figure for use in a LaTeX document, take a look at mathworks.de/matlabcentral/fileexchange/22022-matlab2tikz. –  Nico Sep 12 '13 at 16:53

1 Answer 1

when plotting in Matlab, set the text interpreter to be latex:

Figure1=figure(1);clf;
set(Figure1,'defaulttextinterpreter','latex');
plot(...);
xlabel('$\delta$');
ylabel('$\epsilon$');
share|improve this answer
1  
Welcome to TeX.SX! –  Papiro Jun 30 '13 at 15:58

Your Answer

 
discard

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.