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 日

0 投票

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 日

0 投票

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.

カテゴリ

ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索

製品

タグ

質問済み:

2015 年 11 月 7 日

コメント済み:

dpb
2015 年 11 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by