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?
Asked
Active
Viewed 4.9k times
12
Stefan Kottwitz
- 231,401
Paul
- 2,610
1 Answers
17
when plotting in Matlab, set the text interpreter to be latex:
Figure1=figure(1);clf;
set(Figure1,'defaulttextinterpreter','latex');
plot(...);
xlabel('$\delta$');
ylabel('$\epsilon$');
mrsoltys
- 565
xlabel('Symbol $\delta$','interpreter','latex');andylabel('Symbol $\epsilon$','interpreter','latex');. see xlabel doc. and What is the best way to include Matlab graphics? – texenthusiast Apr 05 '13 at 18:44