Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

little question

0 views
Skip to first unread message

Susan Montag

unread,
Mar 11, 2010, 8:18:04 PM3/11/10
to
Hi, I've a little question.
After typing this in the Command Window:
>> list= line(1, 3, 4, 5)
How can I let the outcome exactly become like:

list =

1 3

4 5

in stead of

a =
1
b =
3
c =
4
d =
5

??


Thanks in advance.

ImageAnalyst

unread,
Mar 11, 2010, 9:06:07 PM3/11/10
to
I see this:
list=line(1,3,4,5)
??? Error using ==> line
Too many input arguments.


And in the help I see this:
line

Create line object
Syntax

line
line(X,Y)
line(X,Y,Z)
line(X,Y,Z,'PropertyName',propertyvalue,...)

line('XData',x,'YData',y,'ZData',z,...)
h = line(...)

Have you redefined the line function? And where the heck is it
getting a, b, c, and d from???

0 new messages