Add an image to subplot

8 views (last 30 days)
MattC on 16 Mar 2023
Answered: Walter Roberson on 17 Mar 2023
Hi All, I have an image in the .jpg format and I would like to insert at (5,1,1) axes of my subplot. However, since there is only 1 column the image widens and blurs as well how do I fix the resolution or size of the image that is looks good?
I am open to changing the image to any format jpg,png,fig. Anything that makes the image readable and nice
MattC on 17 Mar 2023
Is there a way to add a picture above the subplots? I think that would work as well

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 17 Mar 2023
axis image
after you display the plot. This will set the aspect ratio to square so that the image does not get streched wide.

More Answers (0)


Find more on Convert Image Type in Help Center and File Exchange





Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by