How to get default 'OuterPosition' for a figure?

3 views (last 30 days)
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)

Accepted Answer

Star Strider
Star Strider on 11 May 2015
You almost answered your own Question!
This works:
figure(3)
surf(peaks)
op = get(gcf,'OuterPosition')
The 'OuterPosition' property is returned in ‘op’.
  4 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!