no degree symbol
古いコメントを表示
Hi, somehow I cannot display any degree symbols in Matlab. When i put text in a figure title or also the lat/lon labels on maps only show something like a black diamondshaped symbol instead of the º. My colleague, who has the same problem. We use Matlab Version R2012a on Mac OS X Lion.
Thank you in advance!
3 件のコメント
Sean de Wolski
2012 年 6 月 8 日
Have you changed your font preferences (outside of ML)?
Stephanie
2012 年 6 月 11 日
Yash
2012 年 11 月 16 日
check prefrences
回答 (7 件)
Richard
2012 年 11 月 16 日
9 投票
I dont know if this will help but I use ^{o} so for temperature in degrees C I type xlabel('Temperature ^{o}C');
2 件のコメント
Ana
2014 年 3 月 12 日
This totally works for labeling axes. Thank you!
Oluwapelumi Ajayi
2021 年 4 月 15 日
Just what I needed!
Thomas
2012 年 6 月 11 日
s = sprintf('45%c', char(176));
figure
hold on
title(s)
Kimberly
2012 年 6 月 12 日
0 投票
I have the same problem you are describing, and I am also running Matlab version R2012a on a Mac only I am still using OS X Snow Leopard. I have tried all of the above as well as '^{o}' and have had no luck with any of them.
Andrew
2012 年 9 月 12 日
0 投票
Export to eps even when Matlab "fig" shows the black diamond. The eps compiler interprets the TeX code correctly.
カテゴリ
ヘルプ センター および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!