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

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

[Octave-bug-tracker] [bug #34462] Current axes should be listed 1st in t


From: Rik
Subject: [Octave-bug-tracker] [bug #34462] Current axes should be listed 1st in the figure's children
Date: Thu, 27 Sep 2012 18:47:41 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1

Follow-up Comment #1, bug #34462 (project octave):

Ben, is this still an issue?

According to the Matlab documentation
(http://www.mathworks.com/help/matlab/ref/axes.html), axes (h) will definitely
set the current axis to h and it will definitely be listed first in the
children of the current figure.

What is not clear, and really could be just an implementation decision, is
whether axes() by itself should switch the current axis to the newly created
one.  In effect, the current code does


htmp = axes ();
axes (htmp);


but it would be easy to save and restore the current axis if that is the
desired behavior.


ca = gca ();
axes ();
axes (ca);



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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