Axes handles

조회 수: 4 (최근 30일)
Jason
Jason 2011년 8월 4일
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

답변 (1개)

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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Creating, 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