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

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

[Octave-bug-tracker] [bug #39813] rectangle(..., 'Parent', hg) not worki


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #39813] rectangle(..., 'Parent', hg) not working for group objects
Date: Sun, 22 Sep 2013 18:06:37 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0

Follow-up Comment #3, bug #39813 (project octave):

I think the problem lies in the use of "newplot" : when the axes "nextplot"
property has value "replace" (which is the case by default), all the axes
children including the hggroup are deleted. The following code works well for
me:  


hg = hggroup;
set (gca, "nextplot", "add") 
rectangle ('Position', [0.05, 0.05, 0.9, 0.9], 'Curvature', [0.5, 0.5],
'Parent', hg);


The newplot function should probably be called with the parent handle as hsave
argument (whether an axes or a hggroup).  A way to achieve this could be to
have _plt_get_axis_arg_ return an additionnal argument HPAR (parent handle). 



 



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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