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
댓글 수: 0
채택된 답변
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
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 Center 및 File Exchange에서 Legend에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!