Label with num2str
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello everyone,
I want to use num2str and I actually managed to use it but I faced a very little problem.
xlabel({"effective stress","ID=" num2str(Id)})
When I write this part of code, x label consists of 3 lines;
1:effective stress
2:ID=
3:'the value of Id'
But I need the 2nd and the 3rd lines to appear on the same line. It is a small detail but I need it for my thesis. Can you please help me.
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Assembly에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!