Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

i want to display two or multiple images in multiple axes how i write the code

조회 수: 1 (최근 30일)
Anamika baruah
Anamika baruah 2014년 6월 28일
마감: MATLAB Answer Bot 2021년 8월 20일
b=dlmread('fr.mat') %b1=dlmread(fr) b1=dlmread('frs.mat') sum=0; m=2 for i=1:8 g = (b(i) - b1(j,i))^2 sum=sum+g end dist = sqrt(sum); E_dist(j)=dist; disp(E_dist);
if(E_dist(j) <.0061)
%axes=strcat('axes',m)
axes(handles.axes2);
imshow(I);
%h = subplot(right' , [0.2,0.2,0.1,0.1])
%imshow(I , 'parent' , h);
end
m=m+1

답변 (2개)

Geoff Hayes
Geoff Hayes 2014년 6월 28일
Use the subplot function to divide your figure into multiple axes upon which you can tile your images. See http://www.mathworks.com/help/matlab/ref/subplot.html for details.

Image Analyst
Image Analyst 2014년 6월 28일
I already answered this in your duplicate question http://www.mathworks.com/matlabcentral/answers/137319-how-to-display-multiple-images-in-multiple-axes#comment_222343 Did you not see it? Go there and accept the answer or ask a follow up question.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by