Use subscript and superscript in legend
古いコメントを表示
Hi all,
I am wondering how to implement text in a legend with both a superscript and a subscript, and with an horizontal bar, something like this:

採用された回答
その他の回答 (2 件)
Mario Malic
2020 年 10 月 3 日
1 投票
See legend properties
Under Labels - Interpreter
Ameer Hamza
2020 年 10 月 3 日
plot(1:10);
legend('$\overline{H}_{debris}^{front}$', ...
'Interpreter', 'latex', ...
'FontSize', 16, ...
'location', 'best')
カテゴリ
ヘルプ センター および File Exchange で Legend についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!