octave-maintainers
[Top][All Lists]
Advanced

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

Re: ellipse


From: Kai Habel
Subject: Re: ellipse
Date: Sat, 31 Jan 2009 18:51:22 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

John W. Eaton schrieb:
> 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
>   
Sorry for being late to this discussion. Just for you information, I
want to make sure that you are aware of the matlab function rectangle.
It can plot rectangles, circles, and ellipses in 2D [1].

Kai

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/rectangle.html


reply via email to

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