[R] filled.contour ON TOP of a base map
Ray.Brownrigg at ecs.vuw.ac.nz
Thu Apr 15 23:45:20 CEST 2010
On Thu, 15 Apr 2010, Víctor Homar Santaner wrote:
The answer appears to be "no".
Going back to your original question though, you could just not fill the map. I.e.
Otherwise, you may have to do things the 'hard way': set up two regions, draw a map in the
first, (here you can then use polygon to colour the ocean green, then overlay the map
again), overlay your filled contour (perhaps again using polygon), then set up the legend
in the other region.
Hope this helps,
On Wed, 14 Apr 2010, Víctor Homar Santaner originally wrote:
> Dear R helpers,
> Any suggestion on how to make the 2D gaussian to show up ON TOP of the map,
> instead of below the continents?
> Example code:
> Also, any idea on how to fill the ocean with a background color (e.g.
> Best regards and thank you,
More information about the R-help