How to put degree symbol in x-axis
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Tj R
am 8 Apr. 2013
Kommentiert: Chad Greene
am 8 Mai 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 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 8 Apr. 2013
xt=get(gca,'xtick');
for k=1:numel(xt);
xt1{k}=sprintf('%d°',xt(k));
end
set(gca,'xticklabel',xt1);
5 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!