Create a tile of an odd number images where the row with odd number of images is centralized
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi,
I'm looking if it is possible to create a tile with an odd number of images (I'm my current case three images). There images are .png images that I would import using something like
img = imread('example.png'); %# Load a sample image
The idea is to then be able to add a xlabel to each image. By doing os I could make nice publication-ready images with (a), (b), ... (z) notation.
A very bad example is given below:

댓글 수: 0
채택된 답변
Walter Roberson
2021년 2월 5일
I have not read much about using tiledlayout() so I cannot answer about "tiles" as such.
However, the approach that could be used with subplot would be:
im = imread('flamingos.jpg');
subplot(2,7,1:3); imshow(im); xlabel('top row left');
subplot(2,7,5:7); imshow(im); xlabel('top low right');
subplot(2,7,10:12); imshow(im); xlabel('bottom row center');
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
