I'm not sure what you're trying to get across, but try this minimal working
example from the help page that defines this class:

grd <- GridTopology(c(1,1), c(1,1), c(10,10))
polys <- as.SpatialPolygons.GridTopology(grd)
centroids <- coordinates(polys)
x <- centroids[,1]
y <- centroids[,2]
z <- 1.4 + 0.1*x + 0.2*y + 0.002*x*x
ex_1.7 <- SpatialPolygonsDataFrame(polys, data=data.frame(x=x, y=y, z=z,
row.names=row.names(polys)))
tra <- ex_1.7 #easier to type tra than ex_1.7 :)

plot(0,0, xlim = c(0, 12), ylim = c(0, 12), type = "n")

for(i in 1:100) {
lines(tra@polygons[[i]]@Polygons[[1]]@coords)
}

#equals
plot(tra)
axis(1)
axis(2)

You could also maybe try argument asp in the plot call.

Cheers,
Roman



On Tue, Jul 12, 2011 at 10:47 PM, Pierre Racine <Pierre.Racine@sbf.ulaval.ca
> wrote:

> Ok got it:
>
> >plot(imagev01@polygons[[1]]@Polygons[[1]]@coords)
>
> Now when I plot the polygon itself (there is only one):
>
> >plot(imagev01)
>
>  it is much less large than the set of point and they don't matches... The
> heights fit though.
>
> Am I doing something wrong?
>
> Pierre
>
> > -----Original Message-----
> > From: r-sig-geo-bounces@r-project.org [mailto:r-sig-geo-bounces@r-
> > project.org] On Behalf Of Pierre Racine
> > Sent: Tuesday, July 12, 2011 4:29 PM
> > To: r-sig-geo@r-project.org
> > Subject: [R-sig-Geo] How to see polygons vertex
> >
> > Hi,
> >
> > I want to see all the vertex of a SpatialPolygonsDataFrame in a plot.
> Should I
> > convert or extract the coordinates of each polygons and then plot them?
> How?
> >
> > Thanks,
> >
> > Pierre
> >
> > _______________________________________________
> > R-sig-Geo mailing list
> > R-sig-Geo@r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



-- 
In God we trust, all others bring data.

	[[alternative HTML version deleted]]

