plot title including _
조회 수: 3 (최근 30일)
이전 댓글 표시
ang_z = 0; ang_x = -6; ang_y = 0.5; % rotation angle around itself (degree)
fname = ['dist_a',num2str(ang_z),'b',num2str(ang_x),'c',num2str(ang_y)];
fname =
dist_a0b-6c0.5
title(fname)
dista0b-6c0.5
_a becomes subscription of a
Is there any way to print as it looks in fname? (of course, I know that /_ will give _)
댓글 수: 0
답변 (1개)
Voss
2020년 7월 5일
You may try setting the title's interpreter to 'none':
title(fname,'Interpreter','none');
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Title에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!