how to include degree circle symbol in legend
95 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Abdulaziz Abutunis
el 15 de Jun. de 2015
Comentada: Abdulaziz Abutunis
el 15 de Jun. de 2015
Hi all, is there any way to include the degree circle symbol in a legend. My attempt was
legendInfo{j}=['\theta=' num2str(Pitch_(1,j))^{\circ}];
Without including ^{\circ}, the legendInfo works fine.
Thanks, Aziz
0 comentarios
Respuestas (1)
Joseph Cheng
el 15 de Jun. de 2015
use the alt code (alt+248) which will give you ° when generating the legend.
figure,plot(randi(10,1,10))
legend('°C')
which you can enter as hold down the alt button then enter the number 2-4-8 then release the alt key.
Ver también
Categorías
Más información sobre Legend en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!