Plotting multiple images in subplot with reducing subplot distance and make title inside the each subplot images
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MD MOSTAKIM ALAM SOHAG
el 15 de Jun. de 2021
I need to plot mutiple image in a one single image. Plotting will be 1X4. I need to attached all subplot side by side means no spacing between the subplot.Also need to control the size of each subplot for clear looking. Make title for each subplot inside the figure [Left middle inside the iamges]. I also need to save the figure with very high resoulation. I am new at matlab please try to provide me full matlab code. For better understand i unload the sample of the iamges in a zip file and details in other images . Thanks in Advanced.
0 comentarios
Respuesta aceptada
Chunru
el 15 de Jun. de 2021
Editada: Chunru
el 15 de Jun. de 2021
Use tiledlayout to control the gaps. You can use text(x,y, 'title') to place text anywhere.
% loose' (default) | 'compact' | 'tight' | 'none'
tiledlayout(1,4, 'TileSpacing', 'tight');
for i=1:4
nexttile
image(); axis tight; axis off
end
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Subplots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!