How to get default 'OuterPosition' for a figure?

5 ビュー (過去 30 日間)
A
A 2015 年 5 月 11 日
コメント済み: Star Strider 2015 年 5 月 11 日
Hi guys,
If I have the below figure, how can I get its default 'OuterPosition'? I need this information so I can manipulate the 'OuterPosition' based on what the default value is.
Thanks
surf(peaks)

採用された回答

Star Strider
Star Strider 2015 年 5 月 11 日
You almost answered your own Question!
This works:
figure(3)
surf(peaks)
op = get(gcf,'OuterPosition')
The 'OuterPosition' property is returned in ‘op’.
  4 件のコメント
A
A 2015 年 5 月 11 日
Thanks again!
Star Strider
Star Strider 2015 年 5 月 11 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by