Legend label - differential dot above letter with a subscript

99 views (last 30 days)
Carly Beck
Carly Beck on 29 Jul 2019
Commented: infinity on 29 Jul 2019
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}$');

Accepted Answer

infinity on 29 Jul 2019
How about this
name = legend('$\dot{X}_{Piston}$');

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!