在Matlab图例中使用Latex? [英] Use Latex in Matlab legend?

查看:776
本文介绍了在Matlab图例中使用Latex?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的matlab不接受我的乳胶.例如,如果我使用legend('b^{+6}\rightarrow b^{+7}'),它不会向我显示箭头,我该如何解决该问题?

My matlab does not accept my latex . For example if I use legend('b^{+6}\rightarrow b^{+7}'), it does not show me the arrow, How I can solve the problem?

推荐答案

尝试使用Latex解释器,类似

Try with Latex interpreter, something like

legend({'$b^{+6}\rightarrow b^{+7}$'}, 'interpreter', 'latex')


经过R2012a测试:


Tested under R2012a:

这篇关于在Matlab图例中使用Latex?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆