Hi see ?segments segments(1,10,5,10)
HTH Petr On 1 Feb 2007 at 14:21, XinMeng wrote: From: "XinMeng" <[EMAIL PROTECTED]> To: r-help@stat.math.ethz.ch Date sent: Thu, 01 Feb 2007 14:21:34 +0800 Subject: [R] line plot Send reply to: XinMeng <[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]> > Hello sir: > I wanna get such kind of plot: a line whose start point is(1,10),end > point is(5,10) > > In other words: > > How can I draw a line if I only know the coordinate of the start point > and end point? Thanks! My best > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html and provide commented, > minimal, self-contained, reproducible code. Petr Pikal [EMAIL PROTECTED] ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.