derivative dot symbol in the legend of 2d plot

38 次查看(过去 30 天)
I want to include derivative of strain in the legend i.e. epsilon with a single dot on it's head how do i do so in the legend or if i want to put it in a text box in a 2 d plot

采纳的回答

Simon Chan
Simon Chan 2021-12-26
Somthing like the following?
x = 1:10;
y = 1:10;
plot(x,y);
legend('$\dot{\epsilon}$','Interpreter','latex','FontSize',16)
text(3,5,'$\dot{\epsilon}$','Interpreter','latex','FontSize',16)
  3 个评论
Walter Roberson
Walter Roberson 2021-12-26
When you use the property inspector, put
$\dot{\epsilon}$
in the String property.
You might also need to change the Interpreter property to 'latex'

请先登录,再进行评论。

更多回答(0 个)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by