How displayin a number with its subscript ?

1 回表示 (過去 30 日間)
Mallouli Marwa
Mallouli Marwa 2017 年 2 月 15 日
編集済み: Stephen23 2017 年 2 月 15 日
Hi,
I want to display a number hs0 as h with subscript s0.
plot (x,y1,x,y2)
legend('h=hs0','h=2hs0')

採用された回答

Stephen23
Stephen23 2017 年 2 月 15 日
編集済み: Stephen23 2017 年 2 月 15 日
legend('h=h_s0','h=2h_s0')
See the interpreter option in the legend documentation:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by