octave-maintainers
[Top][All Lists]
Advanced

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

Re: base_graphics_backend


From: Michael Goffioul
Subject: Re: base_graphics_backend
Date: Tue, 9 Sep 2008 21:24:05 +0200

On Tue, Sep 9, 2008 at 5:57 PM, Ryan Rusaw <address@hidden> wrote:
> On Tue, Sep 9, 2008 at 4:32 AM, David Bateman
> <address@hidden> wrote:
>>
>> I'm currently also having issues with callbacks and the title, [xyz]label
>> properties of the axes objects in that I see  them ending up with the wrong
>> object type (ie not a "text" object). Trying to debug it, but it seems to be
>> quite bizarre.
>
> That corresponds to the behaviour I'm seeing.
>
> {"payload":{"objectCreated":{"object":{"properties":[{"key":"__myhandle__","value":{"double_value":-8.768229594562095}},{"key":"type","value":{"string_value":"text"}}]}}}}
>
> {"payload":{"objectDeleted":{"object_id":-8.768229594562095}}}
>
> {"payload":{"objectCreated":{"object":{"properties":[{"key":"__myhandle__","value":{"double_value":-8.768229594562095}},{"key":"type","value":{"string_value":"line"}}]}}}}
>
> But the ylabel property of the axes isn't updated and still contains
> -8.768229594562095.

The question here is why is the text object destroyed. The fact that the
line object has the same handle is because the graphics code recycle
handle values instead of generating a new ones. Maybe this should be
avoided.

Michael.


reply via email to

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