octave-maintainers
[Top][All Lists]
Advanced

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

Re: plotyy


From: Michael Goffioul
Subject: Re: plotyy
Date: Tue, 27 Nov 2007 13:03:54 +0100

On 11/26/07, David Bateman <address@hidden> wrote:
> Note that the manner in which this works is that if the axis property
> "position" is set, it is assumed we are dealing with a plotyy plot.
> Matlab sets a property which is called something like
> "ActivePositionType", though I haven't got matlab here at the moment and
> can't check. We can get the same effect just checking if "position" is
> empty and so I don't see the use of this matla specific flag.

It's called ActivePositionProperty and it tells which position property is
adjusted when the window is resized (from Position and OuterPosition)
and Units is "normalized". When ActivePositionProperty is outerposition,
the position property is adjusted (outerposition is kept constant) when
the window is resized, otherwise the outerposition property is adjusted
(position is kept constant). In the case of plotyy, setting
ActivePositionProperty
to position just makes sure that both axes objects will still be aligned
when the window is resized: otherwise, position would be adjusted, and
it might not be the same for both axes.

Michael.


reply via email to

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