derivative dot symbol in the legend of 2d plot

조회 수: 38 (최근 30일)
Abhijit Sardar
Abhijit Sardar 2021년 12월 26일
댓글: Abhijit Sardar 2021년 12월 26일
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'
Abhijit Sardar
Abhijit Sardar 2021년 12월 26일
yes i figured that out. Thanks a lot

댓글을 달려면 로그인하십시오.

추가 답변 (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