Re: [R] Blank certain areas of a contour plot

2008-09-17 Thread Duncan Murdoch
On 9/17/2008 2:29 PM, Victor Homar wrote: Thanks a lot for your suggestion but... Can I do that using the/a land-sea information from the 'worldHires' database (from mapdata)? Yes, you use the map.where function to identify the location of the points. If NA, it's out in the ocean s

Re: [R] Blank certain areas of a contour plot

2008-09-17 Thread Victor Homar
Thanks a lot for your suggestion but... Can I do that using the/a land-sea information from the 'worldHires' database (from mapdata)? Best, Víctor. Greg Snow wrote: After you have interpolated your data, replace the values in the areas of the o cean with NA, then filled.conto

Re: [R] Blank certain areas of a contour plot

2008-09-17 Thread Greg Snow
After you have interpolated your data, replace the values in the areas of the ocean with NA, then filled.contour will not plot in those areas. Hope this helps, > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of Victor Homar > Sent: Tuesda