Why is my code not making the MATLAB text bold?

22 Ansichten (letzte 30 Tage)
Benjamin Cowen
Benjamin Cowen am 1 Nov. 2017
Beantwortet: Cam Salzberger am 1 Nov. 2017
Why does this not make the text bold?
text(x8,y8,txt8,'Interpreter','latex','FontSize',10,'FontWeight','b')

Antworten (1)

Cam Salzberger
Cam Salzberger am 1 Nov. 2017
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.
For an alternative way of applying bold formatting to latex-interpreted text, see this answer.
-Cam

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by