How to get default 'OuterPosition' for a figure?

4 visualizaciones (últimos 30 días)
A
A el 11 de Mayo de 2015
Comentada: Star Strider el 11 de Mayo de 2015
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)

Respuesta aceptada

Star Strider
Star Strider el 11 de Mayo de 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 comentarios
A
A el 11 de Mayo de 2015
Thanks again!
Star Strider
Star Strider el 11 de Mayo de 2015
As always, my pleasure!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by