Axes handles

4 visualizzazioni (ultimi 30 giorni)
Jason
Jason il 4 Ago 2011
Is it possible to access an image that has been assigned to an axes handle on a GUI. I usually use read an image and preassign it using setappdata and then retrieve it using getappdata later. It occured to me that the handles structure must be holding the image somewhere so can I just access this instead?
an example being if I want to rotate an image after it has loaded into the axes component
Thanks Jason

Risposte (1)

Robert Cumming
Robert Cumming il 4 Ago 2011
The image will be a child of the axes, so you can get it through the children field of the axes handle.
  8 Commenti
Walter Roberson
Walter Roberson il 5 Ago 2011
Already did, in the first comment. Repeating it: findobj(TheAxesHandle,'type','image')
Jason
Jason il 5 Ago 2011
Thankyou.

Accedi per commentare.

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by