Why is my code not making the MATLAB text bold?
显示 更早的评论
Why does this not make the text bold?
text(x8,y8,txt8,'Interpreter','latex','FontSize',10,'FontWeight','b')
回答(1 个)
Cam Salzberger
2017-11-1
0 个投票
Hello Benjamin,
The 'latex' interpreter appears to be what is preventing the 'FontWeight' property from having an effect. If you remove the 'Interpreter' specification, the bold font is applied.
-Cam
类别
在 帮助中心 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!