MATLAB Answers


image on axes

Asked by Melvin
on 28 Mar 2012

Hi. Im working on a project. I want to put a picture on my GUI just for layouting purposes. I dont need the GUI to ask user to upload image but just simply have a picture on my gui. a static picture using axes. But i do not know how to do it. Help please. Thank you


Log in to comment.


No products are associated with this question.

1 Answer

Image Analyst
Answer by Image Analyst
on 28 Mar 2012

Place an axis on your figure using GUIDE. Then somewhere in the code use imread() to read the image file into a variable, then use imshow() to display the image in the axes. Try MAGIC (<>) if you want to make it easier on you and get a fast start.


Log in to comment.

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!