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

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

[Octave-bug-tracker] [bug #53767] error in calling linkaxes


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53767] error in calling linkaxes
Date: Fri, 27 Apr 2018 14:56:18 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

My observation here is that after the first command


>> close all
>> graphics_toolkit qt
>> for ii = 1:3; ha(ii) = subplot(3,1,ii); axes(ha(ii)); plot(randn(10+ii,1));
end
>> get(ha,'xlim')
ans =
{
  [1,1] =

      0   12

  [2,1] =

      0   12

  [3,1] =

      0   14

}

>> linkaxes(ha, 'x')
>> get(ha,'xlim')
ans =
{
  [1,1] =

      0   12

  [2,1] =

      0   12

  [3,1] =

      0   12

}


the first subplot has an x-axis ranging from 0 to 12 via its autoscale.  That
would be the first in the series which is subsequently applied to all.  This
is true for all graphics toolkits.

Are you seeing something different there?  Is the range of the first subplot 0
to 11 prior to the linkaxes()?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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