octave-maintainers
[Top][All Lists]
Advanced

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

Re: Problem with __plt_get_axis_arg__.m


From: David Bateman
Subject: Re: Problem with __plt_get_axis_arg__.m
Date: Sat, 01 Dec 2007 22:55:14 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

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.


reply via email to

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