Re: [R] How to generate scatterplot - with a twist

2010-10-01 Thread Greg Snow
If it is important to have points rather than just create the grid, then you could do something using the my.symbols function in the TeachingDemos package. One of the examples on the help page fills the plot with hexagons, the calculations for squares should be simpler. -- Gregory (Greg) L. S

Re: [R] How to generate scatterplot - with a twist

2010-10-01 Thread Marc Schwartz
On Oct 1, 2010, at 10:41 AM, thernubblet wrote: > > Hi. I would like to make a scatterplot where all of the points are evenly > spaced from each other - however, they are all the same size and occupy the > entire graph. For example: > > x = rep(c(1:10), 10) > y = rep(c(10:1), each = 10) > plot(x