Re: [R-sig-Geo] Adding maps to a filled contour plot

2005-10-02 Thread antonio rodriguez
do el: jueves, 29 de septiembre de 2005 21:42 > Para: r-sig-geo@stat.math.ethz.ch > Asunto: [R-sig-Geo] Adding maps to a filled contour plot > > > Hi, > > I am trying to plot a filled contour map and overlay it with a > map, but I'm having trouble with the map. The map i

Re: [R-sig-Geo] Adding maps to a filled contour plot

2005-09-30 Thread Greg Snow
try this: filled.contour(cor.enso.map, x=seq(-126.5625,-64.6875,,23),y=seq(23.720175,51.625732,,11),xlab='longitude',ylab='latitude', plot.axes={map(xlim=c(-127,-65),ylim=c(23,52),add=T) } ) The problem is that filled.contour uses the layout function to divide the device into 2 pieces and plots

[R-sig-Geo] Adding maps to a filled contour plot

2005-09-29 Thread Anne Hertel
Hi, I am trying to plot a filled contour map and overlay it with a map, but I'm having trouble with the map. The map is plotted, but it is stretched out over the color bar, and doesn't stay within the plotting area. If I just use the 'contour' function the 'map' function works fine, but I want