Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Is it possible to have a photo above my dropdown box in the same figure?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!