octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44670] hgload can't open Matlab figures


From: Guillaume
Subject: [Octave-bug-tracker] [bug #44670] hgload can't open Matlab figures
Date: Fri, 20 Apr 2018 09:57:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #15, bug #44670 (project octave):

Adding this comment as a reminder that when hdl2struct/struct2hdl will have
been upgraded to handle uicontrols, the following change will have to be made
in copyobj.m:


diff -r affd44707573 scripts/plot/util/copyobj.m
--- a/scripts/plot/util/copyobj.m       Thu Apr 19 19:16:54 2018 -0700
+++ b/scripts/plot/util/copyobj.m       Fri Apr 20 14:46:12 2018 +0100
@@ -41,7 +41,7 @@
 function hnew = copyobj (horig, hparent = 0)
 
   partypes = {"root", "figure", "axes", "hggroup"};
-  othertypes = {"line", "patch", "surface", "image", "text"};
+  othertypes = {"line", "patch", "surface", "image", "text", "uicontrol"};
   alltypes = [partypes othertypes];


As it stands, the patch from comment #13  that includes changes in openfig.m,
hgload.m and open.m is in my eye ready to be applied to the default branch.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44670>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]