putting a bar over a letter in a figure using LaTex in text mode

Hej, I would like to draw a letter with a bar over it in the ylabel using text mode (I don't like the font style in math mode). I'm using
ylabel('\={foo}','interpreter','latex');
but it produces
Warning: Unable to interpret TeX string "\={foo}"
Why? :(
Thanks in advance!

3 个评论

What version are you using? It works for me (11a).
Since we can't reproduce this on our systems, you probably should contact MATLAB Support.

请先登录,再进行评论。

回答(1 个)

my bad, the error is actually
Warning: Unable to interpret LaTeX string "\={foo}"
still having the problem with the bar :(

产品

标签

提问:

2011-5-2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by