![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/711812/image.png)
Write e bar in plot lable
1 回表示 (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
Star Strider
2021 年 8 月 14 日
Use '$\bar{e}$' and specify 'Interpreter','latex' to get —
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/711812/image.png)
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.
.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!