フィルターのクリア

Legend label - differential dot above letter with a subscript

34 ビュー (過去 30 日間)
Carly Beck
Carly Beck 2019 年 7 月 29 日
コメント済み: infinity 2019 年 7 月 29 日
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');

採用された回答

infinity
infinity 2019 年 7 月 29 日
Hello,
How about this
name = legend('$\dot{X}_{Piston}$');
set(name,'Interpreter','latex');
  6 件のコメント
Carly Beck
Carly Beck 2019 年 7 月 29 日
thank you!
infinity
infinity 2019 年 7 月 29 日
You are welcome!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by