[R-sig-Geo] plot border

Robert Hijmans r.hijmans at gmail.com
Wed Jul 27 22:23:10 CEST 2011


> When running the following script, I can plot the image. 
> Does anyone know how I can get the outline/border of the image? 
> Sample data is attached. 

Muhammad, 

I have no idea what you mean with  "how can I get the outline/border of the
image?", but perhaps the below helps: 

library(raster)
r <- raster("obs.r06q7.nc")
image(r)
x11()
plot(r)

Robert


--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/plot-border-tp6617841p6627574.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list