no degree symbol
Mostra commenti meno recenti
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 Commenti
Sean de Wolski
il 8 Giu 2012
Have you changed your font preferences (outside of ML)?
Stephanie
il 11 Giu 2012
Yash
il 16 Nov 2012
check prefrences
Risposte (7)
Richard
il 16 Nov 2012
9 voti
I dont know if this will help but I use ^{o} so for temperature in degrees C I type xlabel('Temperature ^{o}C');
2 Commenti
Ana
il 12 Mar 2014
This totally works for labeling axes. Thank you!
Oluwapelumi Ajayi
il 15 Apr 2021
Just what I needed!
Stephanie
il 1 Giu 2014
3 voti
Thomas
il 11 Giu 2012
s = sprintf('45%c', char(176));
figure
hold on
title(s)
Andrew
il 12 Set 2012
0 voti
Export to eps even when Matlab "fig" shows the black diamond. The eps compiler interprets the TeX code correctly.
Finlay
il 27 Ott 2023
0 voti
Sin(30°)
Categorie
Scopri di più su Surface and Mesh Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!