octave-maintainers
[Top][All Lists]
Advanced

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

Re: [OctDev] Java/OpenGL-based graphics package for octave


From: Michael Goffioul
Subject: Re: [OctDev] Java/OpenGL-based graphics package for octave
Date: Tue, 24 Apr 2007 10:32:22 +0200

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)

Michael.


reply via email to

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