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 件のコメント

Matt Tearle
Matt Tearle 2011 年 5 月 2 日
What version are you using? It works for me (11a).
Andrew Newell
Andrew Newell 2011 年 5 月 2 日
Works for me too (10b, Mac OS 10.6).
Andrew Newell
Andrew Newell 2011 年 5 月 2 日
Since we can't reproduce this on our systems, you probably should contact MATLAB Support.

サインインしてコメントする。

回答 (1 件)

Claudio
Claudio 2011 年 5 月 2 日

0 投票

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