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

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

[Octave-bug-tracker] [bug #42033] subplot(4, 1, 4) clears previously dra


From: Armin Müller
Subject: [Octave-bug-tracker] [bug #42033] subplot(4, 1, 4) clears previously drawn axes
Date: Wed, 18 Jun 2014 11:33:25 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0

Follow-up Comment #6, bug #42033 (project octave):

Yes Sébastien, I guess this is exactly the same error source.

I investigated some further. In subplot.m, there is a check if the axes object
exists (and therefore is kept), or if the axes object is new and has to be
crated, or if the user wants to explicitly replace the old axes object.


236: if (all (abs (objpos - outerpos) < eps) && ! replace_axes)


objpos =
   0.050000   0.050000   0.293406   0.900000

outerpos =
   0.050000   0.050000   0.291111   0.900000

For some reason, the re-calculated position is differing slighty from the
original position. Therefore, the subplot is deleted.


255: delete (child);


As Mike pointed out, there are some similar errors:
bug #39874 => Similar but different, Version 3.7.6+, already fixed. Works for
me in 3.8.1
bug #31610 => No idea
bug #41128 => Yes. To my understanding, Sébastian's and my report are due to
the same error source as the one that is underlying in Daisuke's report. They
all trigger a breakpoint in line 255.

However, I cannot easily manage to get through calculation of the positions
:-/

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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