how to write \tilde{R_1} in matlab legend, I tried with this not working

41 ビュー (過去 30 日間)
PRADEEP KUMAR
PRADEEP KUMAR 2021 年 11 月 22 日
コメント済み: PRADEEP KUMAR 2021 年 11 月 22 日
I want to write \tilde{R_1} in matlab legend, I tried with this not working
  1 件のコメント
PRADEEP KUMAR
PRADEEP KUMAR 2021 年 11 月 22 日
legend('$\tilde{R}_{1}=\tilde{R}_{2}=1(Sim.)$','Interpreter','latex') through this command I am able to get but while editting it for different plot I am again getting a error attached with this

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

回答 (1 件)

Yusuf Suer Erdem
Yusuf Suer Erdem 2021 年 11 月 22 日
I tried this code below and it was working. Could you compare with your own code?
clc; clear; close all;
text(0.5, 0.5, '$$\tilde{a}$$', 'Interpreter', 'LaTeX')

Community Treasure Hunt

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

Start Hunting!

Translated by