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: Wed, 25 Apr 2007 21:21:00 +0200

On 4/25/07, John W. Eaton <address@hidden> wrote:
On 24-Apr-2007, Michael Goffioul wrote:

| 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.

OK, that also seems strange.  So doing something like this:

 hold on
 h1 = stem (1:2, 3:4);
 h2 = stem (5:6, 7:8);

means that

 get (h1, 'baseline') == get (h2, 'baseline')

and that the second call to stem must be looking for other stem
objects in the same axes so it can modify and store the handle of the
existing baseline object.

The baseline is actually stored in the axes object using setappdata.
Next stem plot just have to retreive it.

What is gained by this complexity?  It seems clear that what is lost
is that you can't have two stem plots with separate baselines in the
same axes.  Odd, but since I have never needed to make a plot like
this, maybe it is considered the normal thing to do.

I don't know why it's so, but I guess they found a good reason to do
it so. For instance, you can change the basevalue of all stems within
an axes by changing the basevalue of the baseline (this automatically
propagates to the stem/bar series object of the axes)

Michael.


reply via email to

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