12

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?

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$');
  • 1
    set(0,'DefaultTextInterpreter', 'latex') – Andrestand Jul 20 '15 at 11:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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