help-octave
[Top][All Lists]
Advanced

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

function for plotting a line between any two points (x1,y1) and (x2,y2)


From: Arvind Raman
Subject: function for plotting a line between any two points (x1,y1) and (x2,y2)
Date: Mon, 18 Jun 2001 13:35:54 +0530

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
-------------------------------------------------------------



reply via email to

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