help-octave
[Top][All Lists]
Advanced

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

Re: Line


From: Renato S. Yamane
Subject: Re: Line
Date: Wed, 25 Nov 2009 17:03:00 -0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4

On 25-11-2009 15:24, c.man wrote:
Renato S. Yamane wrote:
X = 1:10
plot(x, 3)

Why the result is not a line from 1 to 10 (x-axis) and constant in
y-axis (3)?

the exact command is:
x = 1:10;
y = ones(1,10)*3;
plot(x, y);

Wow! Thanks!

Regards,
Renato


reply via email to

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