Plotting multiple images in subplot with reducing subplot distance and make title inside the each subplot images

3 ビュー (過去 30 日間)
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.

採用された回答

Chunru
Chunru 2021 年 6 月 15 日
編集済み: Chunru 2021 年 6 月 15 日
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 件)

カテゴリ

Help Center および File ExchangeSubplots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by