How to make bold font for axis labe with latex interpreter
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Fauzanul
el 16 de Jul. de 2024
Comentada: Fauzanul
el 18 de Jul. de 2024
Hey i try to make my axis label that contain latex interpreter in bold style. I have try some suggestion befor but none of them seems to works. Anybody have a clue?
This is my line
ylabel('$|\frac{\ddot{X}(i\omega)_{2}}{F(i\omega)_{4}}|$ ($\frac{mm/s^2}{N}$)', 'Interpreter','Latex')
0 comentarios
Respuesta aceptada
Himanshu
el 16 de Jul. de 2024
Hey Fauzanul,
You can use the '\mathbf' command for specific parts of the string that need to be bold. Here is an example of how to use it:
figure;
plot(1:10);
ylabel('$\mathbf{|\frac{\ddot{X}(i\omega)_{2}}{F(i\omega)_{4}}|}$ $\mathbf{(\frac{mm/s^2}{N})}$', 'Interpreter', 'latex');
Hope this helps!
Más respuestas (0)
Ver también
Categorías
Más información sobre LaTeX en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!