How can I type inverse sign in axis labels?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'd like to type something like in the picture in the x label text. Can someone tell me how to do that?
0 Kommentare
Antworten (1)
Star Strider
am 2 Mai 2018
Try this:
figure
plot(rand(1,20), rand(1,20), 'p')
xlabel('A^{-1}') % Using Default ‘TeX’ Interpreter
xlabel('$A^{^-1}$', 'Interpreter','latex') % Using ‘LaTeX’ Interpreter
0 Kommentare
Siehe auch
Kategorien
Mehr zu Axis Labels 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!