is there a way that matlab can automatically change the font size of a figure, when the user changes the figure size?
Show older comments
my program changes the figure size through the command:
set(gcf,'paperunits','centimeters');
set(gcf,'paperposition',[1 1 a(1) a(1)*(1/a(2))]);
is there anyway that matlab can change the figure font size automatically?
Accepted Answer
More Answers (1)
Image Analyst
on 16 Jan 2014
0 votes
When you create the controls, either in GUIDE or with uicontrol(), set the "units" property to "normalized". It will then scale the GUI proportionally as you drag the window larger or smaller.
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!