[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: function for plotting a line between any two points (x1,y1) and (x2,
From: |
Paul Kienzle |
Subject: |
Re: function for plotting a line between any two points (x1,y1) and (x2,y2) |
Date: |
Mon, 18 Jun 2001 10:10:22 +0100 |
User-agent: |
Mutt/1.2.5i |
A = rand(5,2);
plot(A(:,1),A(:,2));
Paul Kienzle
address@hidden
On Mon, Jun 18, 2001 at 01:35:54PM +0530, Arvind Raman wrote:
> Hi all,
> Is there a function in matlab which helps you plot lines between two
> points (x1,y1) and (x2,y2).
>
> I have a 2D matrix like
> [ x1, y1; x2,y2; x3;y3; x4;y4; x5;y5]
>
> I want to draw a line between (x1,y1) and (x2,y2) ; (x2,y2) and (x3,y3)
> ; (x3,y3) and (x4,y4) and so on..
>
> Thanks and regards
> Arvind
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects: http://www.octave.org/funding.html
> Subscription information: http://www.octave.org/archive.html
> -------------------------------------------------------------
>
>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------