# HG changeset patch # User Markus Mützel # Date 1643392310 -3600 # Node ID d60a1c672683d55262d529e95cd4b938e844319d # Parent 8273e03f80c93734a9f63fb1d5ad152c3a565af8# Parent fdd58773ac02654dba28d7933a76e82df1e5217d maint: Merge stable to default. diff -r 8273e03f80c9 -r d60a1c672683 scripts/plot/util/newplot.m --- a/scripts/plot/util/newplot.m Fri Jan 28 17:54:06 2022 +0900 +++ b/scripts/plot/util/newplot.m Fri Jan 28 18:51:50 2022 +0100 @@ -155,6 +155,7 @@ set (cf, "nextplot", "add"); # Matlab compatibility do_reset = true; + deleteall = false; if (isempty (ca)) ca = get (cf, "currentaxes"); if (isempty (ca)) @@ -162,9 +163,6 @@ do_reset = false; endif deleteall = true; - else - set (cf, "currentaxes", ca); - deleteall = false; endif anp = get (ca, "nextplot");