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에서 Code Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!