Legend label - differential dot above letter with a subscript
조회 수: 28 (최근 30일)
이전 댓글 표시
I'm trying to have one of my legend labels be "X_Piston" where X has the differential dot above it and 'Piston' is in Subscript format. I can get the differential dot but cannot seem to get the subscript. Any help is appreciated, thank you!!
name = legend('$\dot{X}$');
set(name,'Interpreter','latex');
댓글 수: 0
채택된 답변
infinity
2019년 7월 29일
Hello,
How about this
name = legend('$\dot{X}_{Piston}$');
set(name,'Interpreter','latex');
댓글 수: 6
추가 답변 (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!