How to put degree symbol in x-axis
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tj R
el 8 de Abr. de 2013
Comentada: Chad Greene
el 8 de Mayo de 2015
Dear Experts,
Thanks for your answer in advance! When i draw a x,y plot, in x-axis values says the temperature in degrees. I want to put a degree symbol for each value in x-axis in a plot. How put this degree for each value in the x-axis. Please help me in this regard.
Thank you Raj.
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 8 de Abr. de 2013
xt=get(gca,'xtick');
for k=1:numel(xt);
xt1{k}=sprintf('%d°',xt(k));
end
set(gca,'xticklabel',xt1);
5 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox 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!