Re: [R] Adjusting coordinates in raster plots

2012-08-08 Thread David L Carlson
r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Jan Sudeikat > Sent: Wednesday, August 08, 2012 3:54 PM > To: r-help@r-project.org > Subject: [R] Adjusting coordinates in raster plots > > Dear R-Help, > > When plotting a raster object the origin

[R] Adjusting coordinates in raster plots

2012-08-08 Thread Jan Sudeikat
Dear R-Help, When plotting a raster object the origin (0,0) is placed in the center. E.g. using: library(raster) mat = matrix(runif(100),10,10) r <- raster(ncol=10, nrow=10) values(r) <- mat plot(r, main='Raster example',xlab="x",ylab="y") Does anyone know how to adjust the coordinate system?