Basically, I want 181 points equally spaced over a 40 x 40 cm area. I want
to be able to specify the number of points and the area to which they are
plotted on. I think you are right that grid is what I am looking for but I
was the grid to have axes which your code below, although appreciated, did
not give me. Sorry to be unclear.

On Wed, Jul 9, 2008 at 3:48 PM, Erik Iverson <[EMAIL PROTECTED]>
wrote:

> Still not sure exactly what you want, but it sounds like the 'grid' package
> may be of some help.
>
> It has very flexible ways partitioning regions for plotting.  Is this
> anything like you're after?
>
> library(grid)
>
> for(i in 0:10)
>  for(j in 0:10)
>    grid.points(i / 10, j / 10, default.unit = "npc")
>
>
> 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
>>
>

        [[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.

Reply via email to