changeset 32048:61db3c9377fb

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.
author Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
date Fri, 21 Apr 2023 14:49:23 -0400
parents e3de59065cf1
children 1c99c8f020f7
files scripts/plot/util/ishold.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");