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 visualizaciones (últimos 30 días)
How can I bold text?

Respuesta aceptada

Nithin Kumar
Nithin Kumar el 29 de Mzo. de 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.

Más respuestas (0)

Categorías

Más información sobre Labels and Annotations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by