Changing the font displayed in a waitbar
5 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Walter Roberson
on 24 Nov 2011
wax = findobj(h, 'type','axes');
tax = get(wax,'title');
set(tax,'fontsize',15)
More Answers (1)
Sven
on 24 Nov 2011
It's hidden a little bit:
h = waitbar;
titleHandle = get(findobj(h,'Type','axes'),'Title');
set(titleHandle,'FontSize',24)
2 Comments
See Also
Categories
Find more on Dialog Boxes 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!