Problem with __plt_get_axis_arg__.m

David Bateman adb014 at gmail.com
Sat Dec 1 15:55:14 CST 2007


Michael Goffioul wrote:
> I have a problem related to the current implementation of __plt_get_axis_arg__:
> it always return an axes object, even if the first argument is an handle to
> something else, like an hggroup.
> 
> The problem popped up when adapting my barseries creation function.
> Basically, it creates an hggroup, then it creates a patch as child of the
> hggroup. The patch is simply created with:
> 
> patch(hggroup_handle, ...)
> 
> However, __plt_get_axis_arg__ is called from patch.m, which converts my
> hggroup parent to the containing axes. As a result, the patch object is
> created with the axes as parent, and not my hggroup.
> 
> How am I supposed to deal with this?
> 
> Michael.
> 


I tried to copy the hggroup code you had in one of the other functions
to __get_plt_axis__ so I'd say as JHandles is the only thing with
hggroups at the moment, change it how you need it to be changed..

D.


More information about the Octave-maintainers mailing list