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
how to write \tilde{R_1} in matlab legend, I tried with this not working
15 次查看(过去 30 天)
显示 更早的评论
I want to write \tilde{R_1} in matlab legend, I tried with this not working
回答(1 个)
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')
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!