Write e bar in plot lable

1 次查看(过去 30 天)
Imp
Imp 2021-8-14
How can i write e bar ("e" with the bar signe on top of e (it is like e with a line on top of it )) in lable of plot in matlab? I draw the plot in simulink

回答(1 个)

Star Strider
Star Strider 2021-8-14
Use '$\bar{e}$' and specify 'Interpreter','latex' to get —
so:
xlabel('$\bar{e}$', 'Interpreter','latex')
This works in MATLAB and I assume it would also work in Simulink, although I have not tried it in Simulink.
.

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by