How to display multiple images side by side and on top/bottom of each other?
16 次查看(过去 30 天)
显示 更早的评论
I need to display a single image four times in a 2x2 matrix (so four images total into a rectangle/square).
------------------------
My code so far:
tallpic = imread (filename);
imshow(tallpic);
new_img1 = img(1:end, 1:2:end);
new_img1 = img(1:end, 1:2:end, :);
imshow(new_img1);
---------------------------------
I know how to put 2 side-by-side using "imshowpair (A,B,'montage');" but I don't know how to put another one on the bottom/top.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!