Re: [R] plotting tripgrid on PBSmapping

2014-03-11 Thread Trevor Davies
Dear Michael, Thank you so much for the help. What I ended up doing was this: image(x2009.final) addPolys(worldLLhigh) So obvious is hindsight but most of these things are. Thank you again for the help. All the best -- Trevor On Mon, Mar 10, 2014 at 8:27 PM, Michael Sumner wrote: > Hi, thi

Re: [R] plotting tripgrid on PBSmapping

2014-03-10 Thread Michael Sumner
Hi, this doesn't have much to do with tripGrid, since the object to plot is just a SpatialGridDataFrame. I don't use PBSmapping, so I haven't looked at that - perhaps there is an add = TRUE option to plotMap (?), so perhaps you could do this: image(x2009.final) plotMap(..., add = TRUE) Your main

[R] plotting tripgrid on PBSmapping

2014-03-10 Thread Trevor Davies
Hello, Sorry for the lack of a complete example but this is more of a class type question. I have a map of the coast that I generated through PBSmapping: xlims <- c(292,303.5) ylims <- c(41.5,49.5) plotMap(worldLLhigh, xlim=xlims, ylim=ylims, col=grey(0.1),bg=grey(0.9), xlab="", ylab="", las=1,