Only one plot when expecting multiple
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
Why do I get only plot if I use this script? I try to get one plot for the value of a at the beginning
while a>0
while z > 0
plot(x{1,z}(:,1),y{a,z}(:,1))
hold on
z = z-1;
end
hold off
z = B;
a = a-1;
end
Réponses (1)
KSSV
le 12 Avr 2018
0 votes
Remove hold off from the loop.
1 commentaire
Brecht Leenmans
le 12 Avr 2018
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!