Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Is it possible to have a photo above my dropdown box in the same figure?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!