I create a guide and I use this function to make it full screen:
set(hObject,'units','normalized','outerpos',[0 0 1 1.2]);
but i don't get what i want, i get this:
And i want something like this:

 채택된 답변

Jan
Jan 2016년 4월 24일
편집: Jan 2016년 4월 24일

1 개 추천

추가 답변 (2개)

sipsj11
sipsj11 2017년 12월 13일

4 개 추천

There's an easier solution than using someone else's script, you can simply declare in your text. It's slightly different for older versions (prior to 2014)
Code below:
fig=gcf;
fig.Units='normalized';
fig.OuterPosition=[0 0 1 1];
Image Analyst
Image Analyst 2016년 4월 24일

3 개 추천

Change the 1.2 to 1.0. Or you can try this:
% Set up figure properties:
% Enlarge figure to full screen.
set(gcf, 'Units', 'Normalized', 'OuterPosition', [0 0 1 1]);
% Get rid of tool bar and pulldown menus that are along top of figure.
set(gcf, 'Toolbar', 'none', 'Menu', 'none');
Or do what I do and that is to use Yair Altman's undocumented Java calls. See attached function.

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

질문:

jon
2016년 4월 24일

답변:

2017년 12월 13일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by