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: Thu, 15 May 2014 21:33:12 +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:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

Does the example code work in Matlab?  I would expect the final call to plot
(1:10) would call newplot() which in turn would reset the axes to a default
state including destroying any listeners.  If I mimic that sequence then I do
get exactly what Octave does.


ax1 = subplot (1,2,1);
ax2 = subplot (1,2,2);
link = linkprop ([ax1 ax2], "ylim");
set (ax1, "ylim", [-5 2]) ## ax2 is updated as expected
cla reset;  # This is what newplot would do
set (ax2, "ylim", [1 10]) # only ax2 is updated



    _______________________________________________________

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]