i wnat change 'axes' positon please help me

조회 수: 1 (최근 30일)
rollcakes
rollcakes 2015년 11월 7일
댓글: dpb 2015년 11월 7일
function hellow
N=500;
M=300;
handles.figure=figure;
set(handles.figure,'units','pixels');
set(handles.figure,'name','hello');
mpos=get(0,'MonitorPosition');
set(handles.figure,'position',[mpos(3)-N-10 mpos(4)-M-80 N M]);
handles.axes1=axes();
handles.axes2=axes();
this result is
but i want
%

채택된 답변

Jan
Jan 2015년 11월 7일
편집: Jan 2015년 11월 7일
handles.axes1 = subplot(2, 2, 1);
handles.axes2 = subplot(2, 2, 3);
Or manually:
handles.axes1 = axes('Position', [0.1, 0.6, 0.4, 0.35]);
handles.axes2 = axes('Position', [0.1, 0.1, 0.4, 0.35]);
  댓글 수: 2
rollcakes
rollcakes 2015년 11월 7일
편집: rollcakes 2015년 11월 7일
thanks but plot is just 0 0.5 1 how can i change last number
dpb
dpb 2015년 11월 7일
doc xlim % and friends
I recommend the "Getting Started" section on Graphics to get a feel for Matlab handle graphics usage.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

dpb
dpb 2015년 11월 7일
figure
hF(1)=subplot(2,2,1);
hF(2)=subplot(2,2,3);
doc subplot % for details...
You can adjust the default positions if you want them to be somewhat asymmetric rather than exactly equal or somewhat less white space.

카테고리

Help CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by