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
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?
2 matches
Mail list logo