Write e bar in plot lable

6 views (last 30 days)
Imp Nig
Imp Nig on 14 Aug 2021
Answered: Star Strider on 14 Aug 2021
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

Answers (1)

Star Strider
Star Strider on 14 Aug 2021
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.
.

Community Treasure Hunt

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

Start Hunting!