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 次查看(过去 30 天)
How can I bold text?

采纳的回答

Nithin Kumar
Nithin Kumar 2023-3-29
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Labels and Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by