Legend label - differential dot above letter with a subscript

33 visualizaciones (últimos 30 días)
Carly Beck
Carly Beck el 29 de Jul. de 2019
Comentada: infinity el 29 de Jul. de 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}$');
set(name,'Interpreter','latex');

Respuesta aceptada

infinity
infinity el 29 de Jul. de 2019
Hello,
How about this
name = legend('$\dot{X}_{Piston}$');
set(name,'Interpreter','latex');
  6 comentarios

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by