Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Is it possible to have a photo above my dropdown box in the same figure?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi-
I am trying to have a figure pop up with a dropdown box and image on the same figure. I have successfully been able to pull up the figure with the dropdown box, but have been having trouble putting the photo on the same figure.
Here is a sample of my code. Any help would be appreciated!
uf = uifigure;
dd = uidropdown(uf);
imagedata = imread('logo.png');
image(uf,'logo.png');
label = uilabel(uf,...
'Position', [100 120 200 22],...
'Text', ' Select A Restaurant: ');
dd.Items = {'Choose a Restaurant','McDonalds','Wendys','Burger King','Subway','Chick-Fil-a','Arbys',...
'In and Out','Five Guys','Whataburger','Homemade'};
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!