Typesetting in a figure legend
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I want to be able to write '\bar{u}' and '\bar{\bar{u}}', for example, in the legend of a figure I have produced. Does anybody know how to do this?
The regular TeX code doesn't seem to work.
Thanks
0 Commenti
Risposte (1)
John Petersen
il 23 Gen 2013
Try this:
h=legend('$\bar{u}$', '$\bar{\bar{u}}$')
set(h,'interpreter','latex')
0 Commenti
Vedere anche
Categorie
Scopri di più su Legend in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!