Changing the font displayed in a waitbar
7 次查看(过去 30 天)
显示 更早的评论
Please consider:
h=waitbar(0, 'Please wait...')
for i=1:1000
waitbar(i/1000)
end
close(h)
Could someone please tell me how to change the font type and font size of the displayed message, 'Please wait...', in the waitbar?
Thank you for your consideration!
Best Regards,
JM
0 个评论
采纳的回答
Walter Roberson
2011-11-24
wax = findobj(h, 'type','axes');
tax = get(wax,'title');
set(tax,'fontsize',15)
更多回答(1 个)
Sven
2011-11-24
It's hidden a little bit:
h = waitbar;
titleHandle = get(findobj(h,'Type','axes'),'Title');
set(titleHandle,'FontSize',24)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dialog Boxes 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!