Legends in Bode plots do not support subscripts
显示 更早的评论
The same command that correctly put subscripts in legend in plot does not work for bode. This is not an issue in title. Using the LaTeX interpereter does not help.
g1=tf([R1*C1 0],[ R1*C1 1]);
bode(g1)
legend('\Gamma_h')
title('\Gamma_h vs \omega')

回答(1 个)
g1=tf([1 0],[5 1]);
bode(g1)
title('\Gamma_h vs \omega')
h = legend('$\Gamma\_h$','fontsize', 12);
set(h, 'Interpreter', 'latex');
I believe this is a bug that was reported in earlier versions. What do you mean by Latex doesn't help?
类别
在 帮助中心 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

