How can i use a variable in my text(...) - command?

Hi,
ymax_woehler is a variable with the value 30. How can i use this variable in my text(...)-command? With num2str(ymax_woehler)?
text(20,18,'\sigma_{a,1}= ymax_woehler')
Thank you.

 채택된 답변

José-Luis
José-Luis 2017년 1월 3일

1 개 추천

text(20,18,['\sigma_{a,1}=', num2str(ymax_woehler)])

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

질문:

2017년 1월 3일

댓글:

2017년 1월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by