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).
Works for me too (10b, Mac OS 10.6).
Since we can't reproduce this on our systems, you probably should contact MATLAB Support.

댓글을 달려면 로그인하십시오.

답변 (1개)

Claudio
Claudio 2011년 5월 2일
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