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

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

[Octave-bug-tracker] [bug #50466] makehgtform function missing


From: Bob Stephens
Subject: [Octave-bug-tracker] [bug #50466] makehgtform function missing
Date: Sat, 11 Mar 2017 17:56:40 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0

Follow-up Comment #8, bug #50466 (project octave):

Thanks Rik. I dropped part way into the debugger. I can see the "debug>"
prompt but Octave keep getting stuck in a not responding mode. 

I'm assuming that working towards getting hgtransform functionality to a point
where it deals with all the functionality from matlab is of value and that
lessons learned in the .m version will be important for an eventual build in
c++  but if the priority is low enough on the big picture that I'm becoming a
time waster please let me know.

I added the following to the test_hgtransform.m script just before the for
loop. It appears to be failing in at least one of the same spots as the
version using trplot2 although I've had to modify the statement from trplot2
as it was relying on structures and calls to other parts of the toolbox. Eg
not entirely sure I have it right but somewhat hopeful.
-----
% Modified extract from trplot2 to simulate errors raised from that
h = text(1, 2, 'X', 'Parent', t);
set(h, 'Parent', t);
-----

It's stopping at line 161 of hgtransform.m
orig_data(end).xdata = get (hk, "xdata");

The initial error raised is 
error: get: unknown text property data

I'm assuming that the areas where xyz data in the children is dealt with may
need some kind of test on data type to handle types without xyz data
differently but so far I've not yes succeeded in finding something that works.

 
>From the Workspace panel in Octave (Values appear to be truncated)
orig_data   struct  1x7    ...
hnew        double  1x1    -13.732
hlist       double  1x6    [-6.2230, -7...
hkids       double  7x1    [-13.732, -1...
hk          double  1x1    -13.732
hgt         double  1x1    -12.619
hdel        double  1x0    []
            double  0x0    []

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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