Insert Degree Symbol in Axes Title
Mostra commenti meno recenti
Hello
Anyone know how to display the degree symbol ° in the title on a plot? Also want to know how to display it on the top of the figure.
set (Handle3, 'NumberTitle', 'Off', 'Name', 'Slice profile for a 20^{\circ} sinc pulse ');
axis auto;title('Slice profile for a 20^{\circ} sinc pulse ');
Thanks!
Risposta accettata
Più risposte (3)
Engenuity
il 6 Nov 2016
19 voti
ALT + 248 does the trick using Windows OS
7 Commenti
William Jewell
il 2 Dic 2016
this is dope!!!!!!!!!
Benjamin Kubwimana
il 23 Apr 2020
This is just great! Lol
Prabhpreet Singh
il 28 Set 2020
Man this one was awesome.
Daniel Lindstedt
il 27 Nov 2020
not sure if that is keyboard dependent, for me I use the ASCI code ALT + 0176 on numeric keyboard....
Kenneth George
il 8 Lug 2022
Not sure if this will help someone in the future, but I ran across this and realized that typing the numbers using the number row on my keyboard does not work, but typing the numbers using the numpad does work. Can't tell if this is keyboard dependent, but occurs with both my laptop and desktop. Disappointing for users that don't have a numpad.
Zayin Jarrez
il 4 Mar 2024
Modificato: Zayin Jarrez
il 4 Mar 2024
Nice trick
carlo lefevre
il 3 Feb 2016
14 voti
°C
Honglei Chen
il 15 Mar 2012
By default, title('20^{\circ}') should work. If not, you can do
title('20^{\circ}','Interpreter','tex')
1 Commento
Brian
il 21 Set 2015
\circ is apparently not the same as a degree symbol. Journals sometimes object to the \circ characterization of the degree symbol.
Categorie
Scopri di più su Annotations 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!