How can I change the appearance (font, title, etc) of my figure window in MATLAB (R2013b)?

7 views (last 30 days)
I am building a UI and realized that the manu bar as well as the figure title bar, fontsize, fontname, appearance... cannot be changed. It depends on the user's default setting of the Window Appearance. I was wondering if there's a work around method to configure only MATLAB UI into specific appearance, but not change the user's setting on other window appearance ?
Thank you.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 14 Dec 2019
Edited: MathWorks Support Team on 13 Dec 2019
There is no documented way to change the figure window appearance such as the font size, family, etc. The only documented way one can access the figure window properties is through the property 'Name' and 'NumberTitle'. Here is an example that illustrates that:
>> figure(NumberTitle,off,Name,My Custom Figure)
On a side note, one can access the hidden handles of the figure and customize the menus. Say, I want to set the color of the 'Desktop' toolbar menu to blue, then I would do the following:
>> set(0,'showhiddenhandles','on')
>> h = figure('Name','My Customized Figure');
>> fHandles = findall(h);
>> tags = get(fHandles,'tag');
>> set(fHandles(4),'foregroundColor',[0 0 1])

More Answers (0)

Categories

Find more on Formatting and Annotation in Help Center and File Exchange

Products


Release

R2013b

Community Treasure Hunt

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

Start Hunting!