Why does a SUBPLOT on top of another plot remove the underlying plots?
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Subplots dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!