Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

GUI issue : How to show two images in two axes based on two list boxes

조회 수: 1 (최근 30일)
Tania
Tania 2015년 9월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi everyone, I am using 2 list boxes in GUI. Each list box contains a set of images. I want to compare two list boxes based on their index values and then by pressing on an image of a list box (say list box1) I want to see the images in two different axes from 2 list boxes (image for axes one from listbox1 and image for axes2 from listbox2).

답변 (1개)

Joseph Cheng
Joseph Cheng 2015년 9월 17일
I do not think i understand the problem clearly but first thing comes to mind is that axes do not have a 'string' property.
%example:
figure,
h=axes;
set(h,'string','test')
you may want to not use axes1 and axes2 and change the items into static texts or edit boxes.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by