Re: [R] : put grids in a plot at specific x points

2009-03-16 Thread Laura Rodriguez Murillo
Thank you! that worked nicelly! Laura 2009/3/16 David Winsemius : > grid refers you to abline when"more fine tuning is required", i.e. when the > situation is not a regular grid. > > ?abline > > abline(v=286.16, lty="dotted") > > If you had a vector, vec,  then this should do the trick: > > ablin

Re: [R] : put grids in a plot at specific x points

2009-03-16 Thread David Winsemius
grid refers you to abline when"more fine tuning is required", i.e. when the situation is not a regular grid. ?abline abline(v=286.16, lty="dotted") If you had a vector, vec, then this should do the trick: abline(v=vec, lty="dotted") -- David Winsemius On Mar 16, 2009, at 4:25 PM, Laura Rod

[R] : put grids in a plot at specific x points

2009-03-16 Thread Laura Rodriguez Murillo
Hi dear all! I wonder if anybody can help me with this: I have a plot: allchr <- read.table("allchrtog.txt", header=F) > attach(allchr) > names(allchr) [1] "V1" "V2" "V3" "V4" > plot(V1,V3, type="n") > lines(V1,V3) and I want to add grids to the plot but just at specific x points. So for examp