필터 지우기
필터 지우기

Displaying images in the axes of GUI

조회 수: 3 (최근 30일)
Sam Terry
Sam Terry 2013년 5월 16일
댓글: Kha Didjà 2019년 6월 26일
I'm developing a GUI wherein i want to display images present in external functions in the axes of my GUI. (My GUI has 4 axes and i'm calling an external function which executes and needs to display four different images in the four axes i have created) Please help me out.
  댓글 수: 1
Kha Didjà
Kha Didjà 2019년 6월 26일
I've the same problem could you tell me please how did you solved it

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

답변 (1개)

David Sanchez
David Sanchez 2013년 5월 16일
When showing the images, set the 'Parent' property of the imshow function to the handle of the axis. Ex: if you have axes tagged axes1 and axes2, to display image1(2) in axes1(2):
imshow(image1,'Parent',handles.axes1);
imshow(image2,'Parent',handles.axes2);
  댓글 수: 2
Sam Terry
Sam Terry 2013년 5월 16일
can i write the above code in my external function?
yeshwanth manhcuri
yeshwanth manhcuri 2013년 5월 21일
no no check out the ,tags in the property inspector for the axes....if they are axes 1 n axes2 u can implement it.....

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

카테고리

Help CenterFile Exchange에서 Display Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by