我的 matlab 不接受我的 latex 。例如,如果我使用 legend('b^{+6}\rightarrow b^{+7}')
,它不会显示箭头,我该如何解决这个问题?
最佳答案
尝试使用 Latex 解释器,例如
legend({'$b^{+6}\rightarrow b^{+7}$'}, 'interpreter', 'latex')
在 R2012a 下测试:
关于matlab - 在 Matlab 图例中使用 latex ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22177564/