changeset 31088:06c64a878fc0

findobj.m: Also report properties with aliased names (bug #62612). * findobj.m: Call "__get__" which returns visible and hidden properties of a graphics object rather than "get" which only returns visible properties.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 10 Jun 2022 15:09:53 +0200
parents 037c1e768b56
children 9da8bb2974d7
files scripts/plot/util/findobj.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/findobj.m	Thu Jun 09 09:00:17 2022 -0400
+++ b/scripts/plot/util/findobj.m	Fri Jun 10 15:09:53 2022 +0200
@@ -238,7 +238,7 @@
   if (numpairs > 0)
     match = true (numel (h), numpairs);
     for nh = 1 : numel (h)
-      p = get (h(nh));
+      p = __get__ (h(nh));
       for np = 1 : numpairs
         fields = fieldnames (p);
         fieldindex = find (strcmpi (fields, pname{np}), 1);