help-octave
[Top][All Lists]
Advanced

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

Plotting a line


From: José Luis García Pallero
Subject: Plotting a line
Date: Mon, 19 Feb 2007 14:13:38 +0100

Hi,
If i want to plot a line between two points I use the command plot([x1,x2],[y1,y1]). If the points are, for example, x1=1, y1=1 and x2=2, y2=2, the line is plotted ok. But if the points are x1=1, y1=2 and x2=1, y2=1 (vertical line) a warning appears: empty x range [1:1], adjusting to [ 0.99:1.01]
What is the problem. Exists any command to plot a line between two points.

Thanks

--
*****************************************
José Luis García Pallero
address@hidden
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************
reply via email to

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