superscript/subscript in labels not working
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Woonsup Choi
am 18 Feb. 2016
Kommentiert: thewordneverfound
am 5 Sep. 2017
I wanted to use superscripts for x or y axis labels by using commands like:
ylabel('e^t')
However, the result is simply e^t, no matter how many times I tried. The '\' function for greek letters does not work either. Can anyone tell me what is wrong with my Matlab?
Thank you, Woonsup
0 Kommentare
Akzeptierte Antwort
MHN
am 18 Feb. 2016
x= 1:10;
y=2*x;
plot(x,y)
ylabel('e^t')
It works on Matlab R2014b, maybe the version that you are using does not support latex format.
5 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Labels and Annotations 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!