Why does a SUBPLOT on top of another plot remove the underlying plots?
이전 댓글 표시
I want to create a set of 4 plots on top of which a fifth plot is created in the center. In order to accomplish this, I have tried to use the SUBPLOT command:
for i = 1:4
subplot(2, 2, i)
plot(rand(1, 10));
end
subplot('Position', [.35, .35, .3, .3]);
imshow('canoe.tif')
However, the result is just an image of the canoe. The other plots are gone.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Subplots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!