> 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
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
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,
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