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

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

[Octave-bug-tracker] [bug #52767] error in bar and stem when baseline no


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #52767] error in bar and stem when baseline not restored in loaded figure
Date: Tue, 2 Apr 2019 12:12:34 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36

Update of bug #52767 (project octave):

                Severity:              3 - Normal => 2 - Minor              
              Item Group:                    None => Unexpected Error       
                  Status:                    None => Confirmed              
                 Release:                   4.2.1 => 5.1.0                  
        Operating System:       Microsoft Windows => Any                    
                 Summary: Can't edit previously saved figure. => error in bar
and stem when baseline not restored in loaded figure

    _______________________________________________________

Follow-up Comment #1:

I can confirm this error in both the bar and stem functions, both of which use
a custom "baseline" property. This property references a line object, which is
where the error comes from here. When a saved figure is loaded back into
Octave, the line object that the "baseline" property refers to has not been
restored. Here is an updated example that still produces this error in Octave
5:


>> bar (1, 1);
>> s = hdl2struct (gcf ());
>> close all
>> struct2hdl (s);
>> hold on
>> bar (2, 1)
error: get: invalid handle (= -13.6531)
error: called from
    __bar__>update_xlim at line 366 column 7
    __bar__>bars at line 348 column 3
    __bar__ at line 204 column 12
    bar at line 118 column 18


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?52767>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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