|
From: Theo <th...@gm...> - 2013-04-11 11:12:14
|
Hi Aneesh, is there a reason why you use parametric plot? The following example: x1 = 1 # first point y1 = 3 x2 = 2 # second point y2 = 5 c = 0.5 # noise level f(x) = (y2-y1)/(x2-x1)*x + y2 - x2*(y2-y1)/(x2-x1) + c*(rand(0)-0.5) plot [x1:x2] f(x) gives me a 'noisy' line between the two points. Is it that what you looked for? Theo. |