# HG changeset patch # User Nicholas R. Jankowski # Date 1682102963 14400 # Node ID 61db3c9377fb4aae48cb641eccf63c949c1ec3f2 # Parent e3de59065cf128cb9609c9950a167a882ceda4c8 ishold.m: Suppress BIST hold echo after 72d005398818 (bug @63923). * scripts/plot/util/ishold.m: Change BIST to call 'hold on' instead of 'hold' to avoid hold status echo appearing during self tests. diff -r e3de59065cf1 -r 61db3c9377fb scripts/plot/util/ishold.m --- a/scripts/plot/util/ishold.m Fri Apr 21 11:01:40 2023 -0700 +++ b/scripts/plot/util/ishold.m Fri Apr 21 14:49:23 2023 -0400 @@ -77,7 +77,7 @@ %! assert (! ishold (gca)); %! assert (get (gca, "NextPlot"), "replace"); %! assert (get (hf, "NextPlot"), "add"); -%! hold; +%! hold on; %! assert (ishold); %! assert (ishold (gca)); %! assert (get (gca, "NextPlot"), "add");