From: David on
Hello! I have a GUIDE GUI and I am trying to import a picture, like a logo, into the window. Can anybody please help me with this?
Thank you!
Nicole
From: ImageAnalyst on
On Aug 10, 10:11 am, "David " <drje...(a)aol.com> wrote:
> Hello! I have a GUIDE GUI and I am trying to import a picture, like a logo, into the window. Can anybody please help me with this?
> Thank you!
> Nicole

-----------------------------------------------
David/Nicole:
You put an "axes" control onto the figure. Then in the code (for the
opening function, or in a button callback, or wherever) you specify
the axes and call the display routine (such as imshow), for example:
axes(handles.axesImage);
imshow(imageArray);

Here is a sample tutorial/template that does all that plus more
(reading directory file list into a listbox, batch process the
selected images, write data out to Excel, etc.):
http://www.mathworks.com/matlabcentral/fileexchange/24224
From: Walter Roberson on
David wrote:
> Hello! I have a GUIDE GUI and I am trying to import a picture, like a
> logo, into the window. Can anybody please help me with this?

In to _which_ window? Are you trying to create a background figure for your
GUI, or are you trying to put an image up in an axes? If you are trying to
create a background figure, then how much trouble are you willing to go to in
order to compensate for the fact that uicontrols are normally rectangles that
cover up the background everywhere on their insides ?