How to simultanously create 2 subplots?
Afficher commentaires plus anciens
Learned from Matlab, this worked:
figure;
for k = 1:8
h(k) = subplot(2,4,k);
end
figure;
for k = 1:8
J(k) = subplot(2,4,k);
end
But when call with after:
for k = 1:8
subplot(h(k);plot(a(k))
subplot(J(k);plot(b(k))
end
It plots 4-a and 4-b on the second figure and left the first figure with 8 empty subplots. What's wrong?
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!