How to get default 'OuterPosition' for a figure?

3 visualizzazioni (ultimi 30 giorni)
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)

Risposta accettata

Star Strider
Star Strider il 11 Mag 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 Commenti

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by