How to side by side a subplot 12 images
Ältere Kommentare anzeigen
Hi all!
I'm trying to place side by side 12 image in 1 window with no space between them.
Here's my code:
clc;clear;close all
info=fitsinfo('N20190713S0564.fits')
fitsdisp('N20190713S0564.fits')
for i=1:length(info.Image)
F(:,:,i)=fitsread('N20190713S0564.fits','image',i);
subplot(1,length(info.Image),i)
imshow(F(:,:,i),[])
axis on
end
Which gives me this photos segments which I would like them to be side by side as one:

Could you help me?
3 Kommentare
darova
am 26 Apr. 2020
Create one image and show it
for i=1:length(info.Image)
F1=fitsread('N20190713S0564.fits','image',i);
F = [F F1];
end
imshow(F)
Michele Cernigliaro
am 27 Apr. 2020
Image Analyst
am 27 Apr. 2020
darova, put it down in the official Answers section below so he can Accept your answer and you can get credit for it.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Subplots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
