Why does a SUBPLOT on top of another plot remove the underlying plots?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Subplots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!