Legend label - differential dot above letter with a subscript
29 次查看(过去 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');
更多回答(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!