How displayin a number with its subscript ?

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Legend 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by