plot title including _

1 回表示 (過去 30 日間)
Hyun-su Kim
Hyun-su Kim 2020 年 7 月 5 日
回答済み: Voss 2020 年 7 月 5 日
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 _)

回答 (1 件)

Voss
Voss 2020 年 7 月 5 日
You may try setting the title's interpreter to 'none':
title(fname,'Interpreter','none');

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by