Line each iteration when plotting in a for loop
3 views (last 30 days)
Show older comments
Hello,
I am trying to plot several loops for different values of a variable. When using "hold on" there is a line appearing in each iteration. I would like to have a plot without all those lines. This is the code:
Fmat(t_index,:)=[t_index F];
plot (Fmat (:,1), Fmat (:,2));
drawnow
hold on
Thanks a lot in advance for your reply!
0 Comments
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!