How can I type inverse sign in axis labels?
2 次查看(过去 30 天)
显示 更早的评论
I'd like to type something like in the picture in the x label text. Can someone tell me how to do that?
0 个评论
回答(1 个)
Star Strider
2018-5-2
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Labels and Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!