Why set(H, 'Bold', 'True') does not bold any text of MS word whereas the property set(H,'ColorIndex', 'wdgreen') does color the text

2 Ansichten (letzte 30 Tage)
How can I bold text?

Akzeptierte Antwort

Nithin Kumar
Nithin Kumar am 29 Mär. 2023
Hi Jonayet,
I understand that you are facing an issue while trying to set the axis label to “bold”.
You should use the following syntax for setting the axis label to bold format.
>> set(H, FontWeight, bold)
For more information regarding the text properties, kindly refer the following link :
I hope this answer resolves the issue you are encountering.

Weitere Antworten (0)

Kategorien

Mehr zu Labels and Annotations 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