Re: [R] horizontal and vertical line with arrow in a plot

2010-06-04 Thread John Kane
# A very quick example of how to draw an arrow on a graph. plot(1:10) text(2,5, "Point 5 ", cex=.8) arrows(3,5, 4.5, 5) --- On Thu, 6/3/10, Roslina Zakaria wrote: > From: Roslina Zakaria > Subject: [R] horizontal and vertical line with arrow in a plot > To: r-help@r-pro

Re: [R] horizontal and vertical line with arrow in a plot

2010-06-03 Thread Peter Alspach
Tena koe Roslina ?arrows HTH Peter Alspach > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Roslina Zakaria > Sent: Friday, 4 June 2010 3:34 p.m. > To: r-help@r-project.org > Subject: [R] horizontal

[R] horizontal and vertical line with arrow in a plot

2010-06-03 Thread Roslina Zakaria
Hi r-users, I would like to add a plot of vertical line segment with arrow from (77,.6) to (77,0) and also a horizontal  line segment with arrow from (0,0.6) to (77,.6) .  So far this is what I have: plot(sq, cdf, type="l", lwd=4,col="blue",xaxs="i",yaxs="i", xlab= "Rainfall (mm)", ylab= "Rand