Latex interpreter with sentences and symbols
413 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Aparicio Nieto
el 24 de Jul. de 2017
Comentada: Aparicio Nieto
el 25 de Jul. de 2017
I use latex interpreter when add labels to my plots and no problem appears when I write whole sentences without symbols or only symbols; however, when I try to combine them, there is no error, but neither does it work. Does anyone have any idea of how it could be fixed? I tried typing $$ instead of just $, but still that way. Thank you in advance.
2 comentarios
Respuesta aceptada
Robert U
el 25 de Jul. de 2017
Hi Aparicio Nieto,
as I see the latex interpreter cannot interpret your title command. The "$"-signs indicate a math-environment where you could write formulas. Plain text can be written as is:
figure;
axes
title('Ratio Energ\''etico $\Gamma$','fontsize',14,'interpreter','latex')
xlabel('$f/f_{ref}$','fontsize',14,'interpreter','latex')
ylabel('$\Gamma$','fontsize',14,'interpreter','latex')
Kind regards,
Robert Uhlig
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!