Moving a Figure's position inside a script
1 回表示 (過去 30 日間)
古いコメントを表示
Hello all,
I wish to move a given Figure window, as part of a bigger project. For this, I tried the following piece of code:
function testWindow()
set(gcf, 'units', 'norm');
pos = get(gcf, 'position');
set(gcf, 'position', [0.5 0.5 0.2 0.2]);
set(gcf, 'position', pos);
end
Here I see that the first set command works fine, but the second one doesn't bring 'back' the Figure window to its original place.
What am I missing here? Any help would be greatly appreciated! All the best, Gabriel
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!