What is hold on in MATLAB?

hold on retains plots in the current axes so that new plots added to the axes do not delete existing plots. New plots use the next colors and line styles based on the ColorOrder and LineStyleOrder properties of the axes. MATLAB® adjusts axes limits, tick marks, and tick labels to display the full range of data.
For More Information Please Refer:
https://www.mathworks.com/help/matlab/ref/hold.html
You May Also Like to Read: