Re: [R] how to overlay a map of US on image plot

2011-02-14 Thread Greg Snow
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of cassie jones > Sent: Sunday, February 13, 2011 7:15 PM > To: r-help@r-project.org > Subject: [R] how to overlay a map of US on image plot > > Dear all, > &g

Re: [R] how to overlay a map of US on image plot

2011-02-14 Thread Jannis
A First guess would be to have a look at ?map and change the 'add' argument to TRUE. This would overlay the map to the image plot that you produced before. It may be that you need to mess around with different projections etc. but I can not give you any advice on that without digging deep into

[R] how to overlay a map of US on image plot

2011-02-13 Thread cassie jones
Dear all, I have a data set which has latitude, longitude (not in increasing order) and observed precipitation corresponding to those locations. I am using image.plot command for that. But I want to overlay a map of US on that plot. I know we can use map('usa') to draw it, but I dont know how can