octave-maintainers
[Top][All Lists]
Advanced

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

Re: ellipse


From: Daniel J Sebald
Subject: Re: ellipse
Date: Tue, 03 Feb 2009 08:00:21 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

Soren Hauberg wrote:
lor, 31 01 2009 kl. 16:58 -0600, skrev Daniel J Sebald:

I'd say that a routine like this, as nice as it is and as convenient
as it is, shouldn't be in Octave itself based on its lack of
generality.  It's very directed toward statistics.  Someone wanting an
ellipse for some other reason might have a hard time following the
relationship between eigenvectors and eigenvalues and covariance
matrices, etc.  "shift" and "level" would leave people wondering.


Well, there is certainly some truth in these statements.

Perhaps such a function like this should simply accept a center, and a
major and a minor axis for the ellipse? From a statistics point of view,
such an API would still be fairly easy to use.

That is my thinking too; the statistics point of view could be transformed to a 
general equation fairly easily.  The rotation matrix (i.e., generalization of 
1/a^2 and 1/b^2) will always factor in somehow, even if it is internal to the 
routine.

Having multiple input formats, one of them being the current statistical 
framework, is fine too.

Dan


reply via email to

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