diff --git a/scripts/plot/util/hold.m b/scripts/plot/util/hold.m --- a/scripts/plot/util/hold.m +++ b/scripts/plot/util/hold.m @@ -74,6 +74,11 @@ function hold (varargin) hold_all = false; if (nargs == 0) turn_hold_off = ishold (hax); + if (turn_hold_off) + printf ("hold is now off for current figure and axes\n"); + else + printf ("hold is now on for current figure and axes\n"); + endif elseif (nargs == 1) state = tolower (varargin{1}); switch (state)