help-octave
[Top][All Lists]
Advanced

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

Re: Opinions on Matlab compatibility, Octave development


From: Judd Storrs
Subject: Re: Opinions on Matlab compatibility, Octave development
Date: Wed, 2 Jun 2010 17:20:11 -0400

On Wed, Jun 2, 2010 at 5:11 PM, bpabbott <address@hidden> wrote:
> I haven't tested it, but this should work
> function h = myplot (varargs)
> h = plot (varargs{:}, "markersize", 3);
> endfunction

That was among the first things I tried. However:

octave:1> myplot([1:4],"*")
error: matrix cannot be indexed with {
error: evaluating argument list element number 1
error: called from:
error:   /tmp/myplot.m at line 2, column 6


reply via email to

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