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

1 view (last 30 days)
How can I bold text?

Accepted Answer

Nithin Kumar
Nithin Kumar on 29 Mar 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.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!