[R-sig-Geo] spplot not using exact xlim and ylim boundaries

2011-11-28 Thread Jonathan Callahan
I am plotting spatial data on transparent backgrounds for overlay on top of a GoogleMaps interface but they aren't *exactly* right. I have set the size of GoogleMaps and my image to 640X640 and I receive bounds information on the current region from the GoogleMaps javascript API. The problem is

Re: [R-sig-Geo] spplot not using exact xlim and ylim boundaries

2011-11-28 Thread Edzer Pebesma
It seems that your question has nothing to do with spplot (which is a method in package sp), as you are using plot(). If the problem is similar to this: plot(1:10,xlim=c(0,11),ylim=c(0,11)) par()$usr [1] -0.44 11.44 -0.44 11.44 then it doesn't have to do anything with plotting map data, and

Re: [R-sig-Geo] spplot not using exact xlim and ylim boundaries

2011-11-28 Thread Jonathan Callahan
Thanks for that hint which pretty much solves my problem. I am passing a spatial object to plot which is why I had thought that spplot was ultimately called. It appears that plot() and its parameters are in charge of setting the plot area no matter what kind of object is passed in. Regards,