Ahhh. That worked perfectly. Thank you very much. On Wed, Jul 9, 2008 at 4:19 PM, Dylan Beaudette <[EMAIL PROTECTED]> wrote:
> On Wednesday 09 July 2008, hippie dream wrote: > > This might not possible in R but I thought I would give it shot. I am > have > > to set up a 40 x 40 cm grid of 181 points equidistant from each other. Is > > there any way to produce a graph with R that can do this for me? Actual > > sizes are unimportant as long it is to scale. Thanks > > how about: > > # 40cm spacing > spacings <- 0:13*40 > > # a square grid with 196 points > # sqrt(181) is not an integer, sorry! > g <- expand.grid(x=spacings, y=spacings) > > # check it out > plot(g, pch=3, cex=0.5) > > > > > -- > Dylan Beaudette > Soil Resource Laboratory > http://casoilresource.lawr.ucdavis.edu/ > University of California at Davis > 530.754.7341 > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org 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.