Legends in Bode plots do not support subscripts
Show older comments
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')

Answers (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?
1 Comment
Thomas Alberts
on 5 Mar 2023
Categories
Find more on Legend in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
