Interpreter latex label problem
9 次查看(过去 30 天)
显示 更早的评论
Hi,
I used these codes for ylabel, but it does not work:
h1 = ylabel(['$R_m_a_x/A_0$'])
set(h1,'Interpreter','latex','fontsize',15)
any help please
Thanks in advance!
0 个评论
采纳的回答
infinity
2019-7-22
Hello,
The error come from the typing of latex syntax.
You should change a bit in your latex, for example
ylabel('$R_{{m}_{{a}_{x}}}/A_0$','Interpreter','latex')
It might work.
3 个评论
infinity
2019-7-22
Hello,
So, you could change a bit like this
ylabel('$R_{max}/A_0$','Interpreter','latex')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 LaTeX 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!