# HG changeset patch # User Rik # Date 1651331983 25200 # Node ID 7d5cb3dd312dc2209aa5b363ee4b2a1855f98ad8 # Parent 9a9374ed52704690419cd2063fe09cd3b9160f04 Backed out changeset fdd58773ac02 (bug #61945) Backing out changeset until a more comprehensive solution can be found which includes addressing bug #62373. diff -r 9a9374ed5270 -r 7d5cb3dd312d scripts/plot/util/newplot.m --- a/scripts/plot/util/newplot.m Fri Apr 29 22:13:37 2022 -0700 +++ b/scripts/plot/util/newplot.m Sat Apr 30 08:19:43 2022 -0700 @@ -155,7 +155,6 @@ set (cf, "nextplot", "add"); # Matlab compatibility do_reset = true; - deleteall = false; if (isempty (ca)) ca = get (cf, "currentaxes"); if (isempty (ca)) @@ -163,6 +162,9 @@ do_reset = false; endif deleteall = true; + else + set (cf, "currentaxes", ca); + deleteall = false; endif anp = get (ca, "nextplot");