Create a tile of an odd number images where the row with odd number of images is centralized
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Guilherme Theis
el 5 de Feb. de 2021
Respondida: Walter Roberson
el 5 de Feb. de 2021
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 comentarios
Respuesta aceptada
Walter Roberson
el 5 de Feb. de 2021
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 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
