Issue with hggroup and zlim

David Bateman David.Bateman at motorola.com
Mon Sep 1 05:39:06 CDT 2008


Michael Goffioul wrote:
> On Mon, Sep 1, 2008 at 11:46 AM, David Bateman
> <David.Bateman at motorola.com> wrote:
>   
>> John W. Eaton wrote:
>>     
>>> It looks like zlim for the axes object is being set to [-0.6, 0.6] in
>>> the call to __go_line__ in __line__.m, but I don't understand
>>> precisely where that is happening or why.  The zdata in the hggroup
>>> object clearly has min and max values of -1 and 1.
>>>
>>>
>>>       
>> Yes that is what I see. Manually setting zlim shows the rest of the
>> plot.. I also don't see the reason yet, but was hoping Michael or Shai
>> would know.. If they don't look at this, I'll try to later this week.
>>     
>
> Is it possible that the child of hggroup is reparented (as a child of
> the hggroup) after settings its zdata? That is:
> 1) create the child as child of axes
> 2) set zdata
> 3) reparent as child of hggroup
>
> Michael.
>
>   
It depends how "__go_line__"  is implemented internally. The parent 
hggroup is passed to the call to line and passed to __go_line__. If the 
__go_line__ function parents to the axes and then changes the parent 
internally, then yes the above is possible.

However, how does this cause the issue?

D.


-- 
David Bateman                                David.Bateman at motorola.com
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



More information about the Bug-octave mailing list