octave-maintainers
[Top][All Lists]
Advanced

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

Re: ellipse


From: John W. Eaton
Subject: Re: ellipse
Date: Sat, 31 Jan 2009 12:33:33 -0500

On 31-Jan-2009, Søren Hauberg wrote:

| Ok. How about
| 
|   ellipse (a, shift, level, n, ...)
| 
| ? I guess that orders the input arguments by how important they are.

I think the relative order is subjective.  So I don't really see a
good reason for changing from the original ordering.

If you want to allow them in any order, then I think the best thing is
to also accept keyword/value pairs for them in addition to the plot
properties.  But I'm not sure that it is worth the trouble.

Another option is to keep them in the original ordering but allow an
empty matrix to be used as a placeholder that means "use the default
value".  Then you could write

  ellipse (a, [], [], shift);

is that an acceptable compromise?

jwe



reply via email to

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