Re: [R] filled maps

2004-02-03 Thread Ray Brownrigg
> Date: Tue, 3 Feb 2004 11:34:06 +0100 (CET) > From: Roger Bivand <[EMAIL PROTECTED]> > > On Tue, 3 Feb 2004, Janus Larsen wrote: > > > Hi R-Help, > > > > I would like to make filled contour maps of ocean data overlaid by > > costlines from the map package. > > I can draw the filled contours and

Re: [R] filled maps

2004-02-03 Thread Roger Bivand
On Tue, 3 Feb 2004, Janus Larsen wrote: > Hi R-Help, > > I would like to make filled contour maps of ocean data overlaid by > costlines from the map package. > I can draw the filled contours and the coastlines om the same plot, but > the filled contour also covers part of the land. To get rid of

RE: [R] filled maps

2004-02-03 Thread antonio rodriguez
Hi, Some time ago, Roger Peng posted this solution, which I found very useful: junk.mat <- matrix(rnorm(1600), 16, 100) contour.mat <- ifelse(junk.mat < 2, 0, junk.mat) filled.contour(junk.mat, color = terrain.colors, plot.axes = contour(contour.mat, levels = 1,

RE: [R] filled maps

2004-02-03 Thread antonio rodriguez
longitude",ylab="latitude" ) Antonio > -Mensaje original- > De: Janus Larsen [mailto:[EMAIL PROTECTED] > Enviado el: martes, 03 de febrero de 2004 11:36 > Para: antonio rodriguez > Asunto: RE: [R] filled maps > > > Hi Antonio, > > Thanks for your p