Printing special characters in an axis label
4 ビュー (過去 30 日間)
古いコメントを表示
How do you print special character(s) using sprintf? I want to use this or similar to add special characters to an axis label as in the following:
Here the degree sign doesn't print:
ylabel(sprintf('T at %.0f \circF',Temp))
0 件のコメント
採用された回答
Walter Roberson
2022 年 12 月 6 日
Temp = -19.6
ylabel(sprintf('T at %.0f \\circF',Temp), 'Interpreter', 'tex')
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Labels and Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!