Re: [R] How to control height of abline

2008-06-17 Thread mogra
Thanks Dimitris Rizopoulos wrote: > > check this: > > x <- rnorm(200) > dd <- density(x) > plot(dd) > ind <- seq(100, 400, len = 6) > arrows(dd$x[ind], 0, dd$x[ind], dd$y[ind] - 0.015, length = 0.2) > > > I hope it helps. > > Best, > Dimitris > > > Dimitris Rizopoulos > Biostatistical

Re: [R] How to control height of abline

2008-06-17 Thread Jorge Ivan Velez
I'm sorry Sata, I typed your name wrongly in the my previous email. My apologizes. Thanks, Jorge On Tue, Jun 17, 2008 at 3:19 PM, Jorge Ivan Velez <[EMAIL PROTECTED]> wrote: > > Dear Satam > > Just take a look at Dimitris Rizopoulos' suggestion at > http://www.nabble.com/How-to-control-height-

Re: [R] How to control height of abline

2008-06-17 Thread Jorge Ivan Velez
Dear Satam Just take a look at Dimitris Rizopoulos' suggestion at http://www.nabble.com/How-to-control-height-of-abline-tp17932528p17932528.html HTH, Jorge On Tue, Jun 17, 2008 at 2:15 PM, sata pinal <[EMAIL PROTECTED]> wrote: > I use matplot to get the density curve and then I use > > ablin

[R] How to control height of abline

2008-06-17 Thread sata pinal
I use matplot to get the density curve and then I use abline(v=g$V2, col = 3 ) to get the vertical line. Goal : I want very small lines at the bottom on the x axis , if possible in the arrow forms instead of vertical lines on the whole graph. Thanks a lot. [[alternative

Re: [R] How to control height of abline

2008-06-17 Thread Dimitris Rizopoulos
check this: x <- rnorm(200) dd <- density(x) plot(dd) ind <- seq(100, 400, len = 6) arrows(dd$x[ind], 0, dd$x[ind], dd$y[ind] - 0.015, length = 0.2) I hope it helps. Best, Dimitris Dimitris Rizopoulos Biostatistical Centre School of Public Health Catholic University of Leuven Address: K

Re: [R] How to control height of abline

2008-06-17 Thread Wacek Kusnierczyk
mogra wrote: > I use plot to get the density curve and then I use > > abline(v=g$V2, col = 3 ) to get the vertical line for specific point on x > axis. > > Goal : I want very small lines at the bottom on the x axis , if possible in > the arrow forms instead of vertical lines on the whole graph. >

[R] How to control height of abline

2008-06-17 Thread mogra
I use plot to get the density curve and then I use abline(v=g$V2, col = 3 ) to get the vertical line for specific point on x axis. Goal : I want very small lines at the bottom on the x axis , if possible in the arrow forms instead of vertical lines on the whole graph. Thanks a lot. -- View th