Insert degree symbol in axis title.
Mostrar comentarios más antiguos
Please see the attached image. How can i add such degree symbol in a matlab figure?
Respuesta aceptada
Más respuestas (2)
Voss
el 1 de Sept. de 2021
xt = get(gca,'XTick');
xtl = arrayfun(@(x)sprintf('%d\\circE',x),xt,'UniformOutput',false);
set(gca,'XTickLabel',xtl);
Fangjun Jiang
el 1 de Sept. de 2021
Editada: Fangjun Jiang
el 1 de Sept. de 2021
title('9^oE')
text(0.5,0.5,'9^oE')
xticklabels({'0^oE','1^oE'})
doc title
search for "superscript"
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

