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: Wed, 10 Sep 2008 14:09:08 +0200

On Wed, Sep 10, 2008 at 1:51 PM, David Bateman
<address@hidden> wrote:
> Yes this was part of the patch I sent to you offline
>
> @@ -2158,7 +2171,9 @@ axes::properties::set_defaults (base_gra
> axes::properties::set_defaults (base_graphics_object& obj,
>                const std::string& mode)
> {
> +  gh_manager::free (title.handle_value ());
>  title = graphics_handle ();
> +
>  box = "on";
>  key = "off";
>  keybox = "off";
> @@ -2182,9 +2197,14 @@ axes::properties::set_defaults (base_gra
>  ylimmode = "auto";
>  zlimmode = "auto";
>  climmode = "auto";
> +
> +  gh_manager::free (xlabel.handle_value ());
> +  gh_manager::free (ylabel.handle_value ());
> +  gh_manager::free (zlabel.handle_value ());
>  xlabel = graphics_handle ();
>  ylabel = graphics_handle ();
>  zlabel = graphics_handle ();
> +
>  xgrid = "off";
>  ygrid = "off";
>  zgrid = "off";
>
>
> Unfortunately what this does is that instead of having the error that the
> title [xyz]label objects point to the wrong object type, they end up
> pointing to an invalid object. I still have no idea why.

Sorry, I missed that. Can you remind me where this is a problem?

Michael.


reply via email to

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