Interpreter latex label problem

20 ビュー (過去 30 日間)
Ahmed Abdalazeez
Ahmed Abdalazeez 2019 年 7 月 22 日
コメント済み: Ahmed Abdalazeez 2019 年 7 月 22 日
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!

採用された回答

infinity
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
infinity 2019 年 7 月 22 日
Hello,
So, you could change a bit like this
ylabel('$R_{max}/A_0$','Interpreter','latex')
Ahmed Abdalazeez
Ahmed Abdalazeez 2019 年 7 月 22 日
Yes, it works well thanks a lot :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLaTeX についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by