Insert degree symbol in axis title.
古いコメントを表示
Please see the attached image. How can i add such degree symbol in a matlab figure?
採用された回答
その他の回答 (2 件)
Voss
2021 年 9 月 1 日
xt = get(gca,'XTick');
xtl = arrayfun(@(x)sprintf('%d\\circE',x),xt,'UniformOutput',false);
set(gca,'XTickLabel',xtl);
Fangjun Jiang
2021 年 9 月 1 日
編集済み: Fangjun Jiang
2021 年 9 月 1 日
title('9^oE')
text(0.5,0.5,'9^oE')
xticklabels({'0^oE','1^oE'})
doc title
search for "superscript"
カテゴリ
ヘルプ センター および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

