Re: [R] Using map with filled.contour doesn't display map

2016-11-05 Thread David Winsemius
> On Nov 5, 2016, at 9:33 AM, Jeff Newmiller wrote: > > I get the error also (R3.3.1/raster2.5-8). > > Works fine if I call plot.new() before calling filledContour. It didn't "work fine" when I did that. I first briefly see a generic plotting frame (x and y axes with no data) which was then b

Re: [R] Using map with filled.contour doesn't display map

2016-11-05 Thread Jeff Newmiller
I get the error also (R3.3.1/raster2.5-8). Works fine if I call plot.new() before calling filledContour. Given this is a contributed package you should be corresponding with the package maintainer if you think this solution is inappropriate or the documentation needs fixing, but I suspect you a

Re: [R] Using map with filled.contour doesn't display map

2016-11-04 Thread Jeff Charlton
Hi David, Thank you for the response. I apologize that I didn't give a more complete example. Here's code that recreates the issue I'm having on my system. You'll have to enter the path to your packages and where you want to store the downloaded file. library("maps", lib.loc="") library("raster

Re: [R] Using map with filled.contour doesn't display map

2016-11-04 Thread David Winsemius
> On Nov 4, 2016, at 11:26 AM, Jeff Charlton wrote: > > Hello, > > I'm trying to overlay a map on top of data showing temperatures across the > world. The code I'm using is: > > filledContour(tempdata, plot.axes={axis(1); axis(2); map("world2", > add=TRUE)}) > > where tempdata is a raste

[R] Using map with filled.contour doesn't display map

2016-11-04 Thread Jeff Charlton
Hello, I'm trying to overlay a map on top of data showing temperatures across the world. The code I'm using is: filledContour(tempdata, plot.axes={axis(1); axis(2); map("world2", add=TRUE)}) where tempdata is a raster file made from a netcdf file downloaded from the NOAA website. The fille