no figure toolbar
7 ビュー (過去 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')
3 件のコメント
Matt Fig
2011 年 2 月 16 日
Put the command in your startup.m file. just type:
edit startup
This is the file MATLAB runs every time it starts.
Matt Fig
2011 年 2 月 16 日
Also, see Loren's blog on the startup.m file. Go to BLOGS at the top of the page, click on Loren's blog and search for startup.
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!