how to show multiple images in the same picture with the name of each image without using subplots?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
federica pasquali
el 9 de Ag. de 2018
Respondida: Jan
el 10 de Ag. de 2018
dear all ,
I have a function that, according to the user's specifications, creates, reads the desired image created (saving it in a variable) and then deletes it (to avoid clogging the folder) after creating all the desired images I want the function to be output let me see the printed images and respective name associated with the image, I tried to use subplots but the images are too small and not seen well, montage, I do not know how to match the name - image because before doing montage you have to check which images exist or less than possible images. thanks
2 comentarios
Jan
el 9 de Ag. de 2018
What is the problem with using subplot? The size of the images shown by subplot is limited by the size of the monitor. So how can we help you? What does "match the names" mean?
Respuesta aceptada
Image Analyst
el 9 de Ag. de 2018
Use montage(), then text().
2 comentarios
Image Analyst
el 9 de Ag. de 2018
It should work fine if you just don't delete the very things you want to display! Not sure what gave you that idea. It works fine for me. Here is my code:
img = imread('peppers.png'); % Read in one image.
% Make cell array of 13 images (all the same for this demo).
cellImages = {img, img, img, img, img, img, img, img, img, img, img, img, img};
% Show all the image.
montage(cellImages, 'Size', [4 4])
Más respuestas (1)
Jan
el 10 de Ag. de 2018
There are a lot of tools in the FileExchange, which provide a modified subplot to use more space in the figure.
0 comentarios
Ver también
Categorías
Más información sobre Line Plots en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!