[R] line plot

Petr Pikal petr.pikal at precheza.cz
Thu Feb 1 08:14:52 CET 2007


Hi

see ?segments
segments(1,10,5,10)

HTH
Petr


On 1 Feb 2007 at 14:21, XinMeng wrote:

From:           	"XinMeng" <xmeng at capitalbio.com>
To:             	r-help at stat.math.ethz.ch
Date sent:      	Thu, 01 Feb 2007 14:21:34 +0800
Subject:        	[R] line plot
Send reply to:  	XinMeng <xmeng at capitalbio.com>
	<mailto:r-help-request at stat.math.ethz.ch?subject=unsubscribe>
	<mailto:r-help-request at stat.math.ethz.ch?subject=subscribe>

> 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 at 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
petr.pikal at precheza.cz



More information about the R-help mailing list