Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Bold Titles when using menu

Asked by David Koenig on 29 Dec 2012

Hello,

I am using menu and, based on a previous Matlab Answers post, I am able to choose the font (Arial Rounded MT Bold) but I can not seem to find a way to make the letters stronger as in really bold. Is there a way to change the strength of the letters in menu?

Thanks.

0 Comments

David Koenig

Tags

Products

1 Answer

Answer by Image Analyst on 29 Dec 2012
Edited by Image Analyst on 29 Dec 2012
Accepted answer

For a pulldown menu, I believe that is controlled by your operating system.

For a static text control, or a text object in the overlay, you can set the 'FontWeight' Property to 'Bold'.

text(yourString, 'FontWeight', 'Bold');

From the help for "Text Properties"

FontWeight
{normal} | bold | light | demi
Weight of text characters. MATLAB uses this property to select a font from those available on your particular system. Generally, setting this property to bold or demi causes MATLAB to use a bold font.

0 Comments

Image Analyst

Contact us