Extra white spaces not inserted using the text command
Mostrar comentarios más antiguos
I cannot get multiple spaces to show up on a plot when using the 'text' command.
For example, this works fine
c5 = strcat('$\rm{SW}$','{ }','$D_{\rm{max}}$','{ }','$v$');
l5 = text(0.9, 0.4, c5)
set(l5,'Interpreter','Latex','FontSize',10,'Color','b');
However, the extra white spaces as here do not show up
c5 = strcat('$\rm{SW}$','{ }','$D_{\rm{max}}$','{ }','$v$');
l5 = text(0.9, 0.4, c5)
set(l5,'Interpreter','Latex','FontSize',10,'Color','b');
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Grid Lines, Tick Values, and Labels en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!