Why does a SUBPLOT on top of another plot remove the underlying plots?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Subplots finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!