Function Reference
— Function File: hold args

Tell Octave to `hold' the current data on the graph when executing subsequent plotting commands. This allows you to execute a series of plot commands and have all the lines end up on the same graph. The default is for each new plot command to clear the plot device first. For example, the command

          hold on

turns the hold state on. An argument of "off" turns the hold state off, and hold with no arguments toggles the current hold state. — Function File: hold (h, ...)

Applies to a specific axis or axes, associated with the handle(s), h.