octave-maintainers
[Top][All Lists]
Advanced

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

Re: how to initialize "tightinset" for new axes?


From: Michael Goffioul
Subject: Re: how to initialize "tightinset" for new axes?
Date: Thu, 25 Jul 2013 07:28:04 -0400

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.


reply via email to

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