How to make bold font for axis labe with latex interpreter
조회 수: 11 (최근 30일)
이전 댓글 표시
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
채택된 답변
Himanshu
2024년 7월 16일
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!
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 LaTeX에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!