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

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

[Octave-bug-tracker] [bug #42285] linkprop doesn't always work with axes


From: Rik
Subject: [Octave-bug-tracker] [bug #42285] linkprop doesn't always work with axes limits
Date: Fri, 16 May 2014 15:20:48 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

Update of bug #42285 (project octave):

                  Status:               Need Info => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

This was pretty easy to fix, although I guess we should make sure there are no
other repercussions.  In graphics.in.h, there is this piece of code:


void set_defaults (const std::string& mode)
{
  remove_all_listeners ();
  xproperties.set_defaults (*this, mode);
}


I simply took out the remove_all_listeners() function call and then Octave
works the same as Matlab.  I verified that your sample piece of code works
with that change.

The only way to get rid of a listener now is to explicitly delete it with
dellistener or destroy the axes object with delete (gca).

The changeset is here
(http://hg.savannah.gnu.org/hgweb/octave/rev/10082673a8f0).

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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