필터 지우기
필터 지우기

How displayin a number with its subscript ?

조회 수: 2 (최근 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 CenterFile Exchange에서 Legend에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by