How displayin a number with its subscript ?

3 visualizaciones (últimos 30 días)
Mallouli Marwa
Mallouli Marwa el 15 de Feb. de 2017
Editada: Stephen23 el 15 de Feb. de 2017
Hi,
I want to display a number hs0 as h with subscript s0.
plot (x,y1,x,y2)
legend('h=hs0','h=2hs0')

Respuesta aceptada

Stephen23
Stephen23 el 15 de Feb. de 2017
Editada: Stephen23 el 15 de Feb. de 2017
legend('h=h_s0','h=2h_s0')
See the interpreter option in the legend documentation:

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by