On 4/24/07, Shai Ayal <address@hidden> wrote:
> On 4/24/07, Michael Goffioul <address@hidden> wrote:
> > In Matlab, a stemseries object has 2 children:
> > - a line object for all stems: the key here is that the original x/y data
are
> > converted into [x0 x0 NaN x1 x1 NaN...] [B y0 NaN B y1 NaN...] where B is
> > the base value; line segments containing NaN are not drawn by Matlab
> > - a line object for the markers
> >
> > The base line is a (extended) line object that is a child of the axes and
> > shared by all stemseries objects within the same plot.
>
> What do you mean by extended line object? Is it a line object with a
> special tag, or does it have some additional properties (which is
> equivalent to saying it is a "new" object, not a line object)
It's a line object with the additional "BaseValue" property. In OO-terms,
you'd say it's a new object that inherits from a line object. Setting
the "BaseValue" property changes the corresponding properties in all
stemseries (and also barseries) of the plot.
The same apply for a legend object: it's an extended axes object, i.e.
an axes object with a few additional properties (Location, EdgeColor,
TextColor, Orientation, String, Interpreter)