|
From: | Michael Goffioul |
Subject: | Re: how to initialize "tightinset" for new axes? |
Date: | Thu, 25 Jul 2013 08:32:07 -0400 |
On Jul 25, 2013, at 1:28 PM, Michael Goffioul wrote:
> On Thu, Jul 25, 2013 at 5:52 AM, Ben Abbott <address@hidden> wrote:
> The tightinset property for axes is not being initialized properly for new axes. I'm unfamiliar with how should be done .... but .... do we essentially need to add
>
> sync_positions ();
>
> ... to graphics.cc(axes::initialize)?
>
> void
> axes::initialize (const graphics_object& go)
> {
> base_graphics_object::initialize (go);
>
> xinitialize (xproperties.get_title ());
> xinitialize (xproperties.get_xlabel ());
> xinitialize (xproperties.get_ylabel ());
> xinitialize (xproperties.get_zlabel ());
> }
>
> Since sync_positions() is out of the scope of axes::initialize, how can that be done?
>
> I'm not sure, but the above seems like a valid candidate. Just give it a try.
>
> Michael.
I get a scoping error.
corefcn/graphics.cc: In member function 'virtual void axes::initialize(const graphics_object&)':
corefcn/graphics.cc:6901:19: error: 'sync_positions' was not declared in this scope
[Prev in Thread] | Current Thread | [Next in Thread] |