Re: [D-RUG]: plot a raster in r?

12 views
Skip to first unread message
Message has been deleted

Ryan Peek

unread,
May 23, 2017, 1:05:41 PM5/23/17
to davi...@googlegroups.com
I think you'll find some examples and exactly what you need using the very helpful raster tutorial here: 


On Tue, May 23, 2017 at 7:24 AM, bic ton <bict...@gmail.com> wrote:

Dear all,

Is it possible to plot the attached map with such legend?



Thank you so much for your help.

library(raster)
ra=raster(gmia_v5_aei_pct.asc)
plot(ra)




Thanks 
Bic

--
Check out our R resources at http://d-rug.github.io/
---
You received this message because you are subscribed to the Google Groups "Davis R Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to davis-rug+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/davis-rug.
For more options, visit https://groups.google.com/d/optout.



--

 
"When we try to pick out anything by itself, we find it hitched to everything else in the universe."
John Muir (My First Summer in the Sierra, 1911)
-----------------------------------------------------
Ryan Peek
PhD Candidate, Graduate Group in Ecology
Center for Watershed Sciences, UC Davis

-----------------------------------------------------
Reply all
Reply to author
Forward
0 new messages