Hi everyone!

I would like to draw a line surrounding my raster, with i want it in black, 
and i don't know if its possible to change the colour.

A simple example is:

r <- raster(nrow=30, ncol=30, xmn=0)
r[]<-NA
r[393:409]<-99
r[423:439]<-99
r[453:455]<-99
r[456:460]<-30
r[461:469]<-99
r[483:499]<-99
r[513:529]<-99
plot(r,col=terrain.colors(100))
plot( edge(r, type='outer'))

Could anyone help me??
Thanks

--
View this message in context: 
http://r.789695.n4.nabble.com/Edges-and-Rasters-tp4633966.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to