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: Shai Ayal
Subject: Re: [OctDev] Java/OpenGL-based graphics package for octave
Date: Tue, 24 Apr 2007 11:42:48 +0300

On 4/24/07, Michael Goffioul <address@hidden> wrote:
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)

So this means that legend and base_line are new "basic" objects. I
agree that they could be easily implemented by inheiting from
axes/line respectively, but they still are "basic".
Any ohter surprises that you know of?


reply via email to

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