Reputation: 3433
for n = 1:2
for n = 1:100
% some logics
end
subplot(2,n,1);
ploterrhist(error)
end
I only get one graph and I don't even see subplot. Why?
Upvotes: 0
Views: 358
Reputation: 14498
Try something like this
for i = 1:2
for j = 1:100
% some logics
end
subplot(2,1,i);
ploterrhist(...)
end
Upvotes: 2