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 Commenti

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.

Accedi per commentare.

Risposte (1)

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

Prodotti

Richiesto:

il 2 Mag 2011

Community Treasure Hunt

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

Start Hunting!

Translated by