Hi, or otherwise you may try:
plot(c(1,5), c(1,10),type="l") kindest regard, Rense On Feb 1, 2007, at 8:14 , Petr Pikal wrote: > Hi > > see ?segments > segments(1,10,5,10) > > HTH > Petr > > > On 1 Feb 2007 at 14:21, XinMeng wrote: > > From: "XinMeng" <[EMAIL PROTECTED]> > To: [email protected] > 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 >> >> ______________________________________________ >> [email protected] 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] > > ______________________________________________ > [email protected] 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. > ______________________________________________ [email protected] 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.
