here is the code that produces the plot below:
filled.contour(x,y,z, col=colors2, levels=breakpoints, plot.axes={axis(1); axis(2); map(add=TRUE, interior=FALSE)} )
A sample can be created using:
z=matrix(rnorm(7008),nrow=96)
x=seq(-176.25,180, by=3.75)
y=seq(-90,90, by=2.5)
filled.contour(x,y,z, plot.axes={axis(1); axis(2); map(add=TRUE, interior=FALSE)} )
However I can't seem to figure out how to crop/move the projected world map (from the 'maps' package) 3.75 degrees on/to the right side so it fits properly. This is equivalent to adding one more row onto the base of my original data matrix (z), which I don't want to do as it gives an empty column at one end. I have tried 'orientation' but can't get it to work.
I'm sure this is simple! Many help in advance