no figure toolbar
3 次查看(过去 30 天)
显示 更早的评论
When I open a figure in Matlab the toolbar is not displayed. So if I enter
>> figure
I get the same result as if I entered
>> figure('Toolbar','none')
How do I change the default behavior?? Thanks.
Eric
0 个评论
回答(3 个)
Matt Fig
2011-2-15
I think what you want is this:
set(0,'defaultfiguretoolbar','figure');
To see the list of options, use:
set(gcf,'toolbar')
Jiro Doke
2011-2-15
I'm not sure if you're asking how to not display the toolbar by default, or asking why your figure does not display the toolbar (and how to fix the default).
set(0, 'defaultFigureToolbar', 'none')
To remove the default setting,
set(0, 'defaultFigureToolbar', 'remove')
0 个评论
Oleg Komarov
2011-2-16
set(0,'defaultfiguretoolbar','none')
if is there, then comment it out.
Oleg
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Properties 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!