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

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

[Octave-bug-tracker] [bug #39483] axes "handlevisibility" not properly h


From: Rik
Subject: [Octave-bug-tracker] [bug #39483] axes "handlevisibility" not properly handled with new children objects
Date: Fri, 19 Jul 2013 15:34:20 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0

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

Why don't you open a new bug report, just to be clear.  I'll probably still be
the one who responds and commits your patches.

It seems like the "core" graphics objects which are low-level functions need
to be checked.  Previously, they always used a call to gca() to plot into the
current, or newly created, axis.  This can now be removed in favor of a call
to __plt_get_axis_arg__ to check whether they are being re-parented.

The line.m function now reads:


## Get any axis argument which may be in a 'parent' PROP/VAL pair
[hax, varargin] = __plt_get_axis_arg__ ("line", varargin{:});

htmp = __line__ (hax, varargin{:});

if (nargout > 0)
  h = htmp;
endif


The core graphics objects which possibly need updating are:
axes
image
patch
rectangle
surface
text

Other functions, like surf, build upon these and probably do the right thing
alread.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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