for文におけるfigure内の複数の画像を更新されるようにしたいです。
Ältere Kommentare anzeigen
%Depth_Dataは3Dカメラデータ
for i = 1:number
A = Depth_Data(:,:,i);
A1 = imcrop(A,[55,0,150,120]);
B = medfilt3(A1);
figure,
subplot(3,2,1),mesh(A)
subplot(3,2,2),imagesc(A)
subplot(3,2,3),mesh(A1)
subplot(3,2,4),imagesc(A1)
subplot(3,2,5),mesh(B)
subplot(3,2,6),imagesc(B)
end
%この状態で実行すると、フレームごとにfigureが出てきてしまうので、固定のfigure内で更新されるようにしたいです。
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!