Posts

Showing posts with the label hold

How to hold plots in MatLab? - hold -- MatLab

Image
 How to hold plots in MatLab? - hold -- MatLab hold command [description] the hold command is used to set to hold  state of plots or not. When the plot is hold, it will not disapear the next time you plot the other graph. You will see two graphs will be overlapping. hold on  or  hold ('on') hold the state on hold on the current plot. it will not disapear the next time you plot the other graph. hold off or hold ('off'') hold the state off e.g. above fig. are about no 'hold on' above fig. are about 'hold on' hold  toggle hold state between on and off. hold (ax, ___) set ax hold state. more details on Retain current plot when adding new plots - MATLAB hold (mathworks.com)