[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ellipse
From: |
John W. Eaton |
Subject: |
Re: ellipse |
Date: |
Fri, 30 Jan 2009 11:38:22 -0500 |
On 30-Jan-2009, Søren Hauberg wrote:
| tor, 29 01 2009 kl. 13:27 -0500, skrev John W. Eaton:
| > On 1-Dec-2008, Søren Hauberg wrote:
| >
| > | Some time ago there was a discussion on the help list about having a
| > | function that plots an ellipse. The function was never completed, since
| > | it lacked a few details for controlling the layout of things such as
| > | bounding boxes, and major/minor axis of the ellipse. Attached is a IMHO
| > | complete implementation of the function. It allows you to do things like
| > |
| > | ellipse (A, 1, shift)
| > |
| > | which will plot an ellipse described by 'A' with center at 'shift'. But
| > | you can also do more complicated things like
| > |
| > | ellipse (A, 1, shift, :, "k", "majoraxis", "g", "linewidth", 2,
| > | "boundingbox", "b");
| > |
| > | which will plot a black ellipse, with a green major axis of width 2, and
| > | a blue bounding box.
| > | Should this function be added to core Octave, or should I put it in
| > | one of the packages at Octave-Forge?
| >
| > I don't have a strong opinion about this, so whatever you think is
| > best.
|
| Does anybody have strong opinions here? Is this a core plotting
| function, or is it a specialised plot? For me, it's something I do quite
| often, but that just might be because I do quite a bit of statistics...
OK, if no one seems to care, then let's just put it in Octave.
BTW, is there a good reason that you switched the order of the N and
SHIFT arguments from the original? That change will break all the
code that the original author (my former boss) wrote that uses this
function. I don't mind making the switch if there is a good reason,
but it's not immediately obvious to me what that might be.
jwe
- ellipse, John W. Eaton, 2009/01/29
- Re: ellipse, Søren Hauberg, 2009/01/30
- Re: ellipse,
John W. Eaton <=
- Re: ellipse, Søren Hauberg, 2009/01/31
- Re: ellipse, John W. Eaton, 2009/01/31
- Re: ellipse, Søren Hauberg, 2009/01/31
- Re: ellipse, John W. Eaton, 2009/01/31
- Re: ellipse, Kai Habel, 2009/01/31
- Re: ellipse, Søren Hauberg, 2009/01/31
- Re: ellipse, Kai Habel, 2009/01/31
- Re: ellipse, Søren Hauberg, 2009/01/31
- Re: ellipse, Daniel J Sebald, 2009/01/31