MATLAB Answers

How do add one picture onto another picture in MATLAB?

20 views (last 30 days)
Md. Mahadi Hasan
Md. Mahadi Hasan on 26 Feb 2021
Answered: Image Analyst on 26 Feb 2021
Using "hold on and hold off" function we can show multple output in a single plot figure, Similerly I want to show two Image in a single figure like sample's one.
should I use "imshow" funtion or something else?
  1 Comment
Johnny Cheng
Johnny Cheng on 26 Feb 2021
Yes you can do use imshow to display multiple images in a single figure using tiledlayout functions:
See second bullet point in imshow tips:

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 26 Feb 2021
subplot is one way
subplot(2, 2, 1);
subplot(2, 2, 2);
subplot(2, 2, 3);
subplot(2, 2, 4);


Community Treasure Hunt

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

Start Hunting!