Multiple plots using a method on single axis?
Show older comments
I have a method that plots an array of data onto an axes in my GUI. I want to be able to call this method in a for loop and all the data that is plotted be on the same axes and not reset every time the method is called. Is this possible?
Accepted Answer
More Answers (1)
Walter Roberson
on 29 Jul 2015
Use
hold on
if you want to have all of the objects appear together on the same axes.
Categories
Find more on Performance and Memory 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!