Plot options foo=bar vs [foo, bar]



Robert Dodier writes:
> On 6/9/06, Stavros Macrakis <macrakis at gmail.com> wrote:
> 
>> I like the idea of using "=" to specify options, and I like the idea 
>> of an
>> interval operator.  Once we have something like x=<<a,b>> for 
>> intervals, we
>> naturally expect x=[1,2,3] or x=set(1,2,3) to work as well, which is 
>> nice.
> 
> It might also be useful to be able to specify a step as well as the 
> endpoints.
> 
>> However, ":" is not a good choice for the interval operator, as it is
>> already defined as the assignment operator, so "x=a:b" will set a to 
>> be and
>> evaluate to "x=a".
> 
> There is the possibility that plot2d / plot3d would be argument-quoting
> functions so that syntax like x=a:b would be evaluated in some
> manner other than the default.
> 

How about x=a..b notation for interval?


-- 
      Vadim V. Zhytnikov

       <vvzhy at mail.ru>
      <vvzhy at netorn.ru>