Re: [R] how to plot a map on a non-rectilinear grid

2008-03-18 Thread jgarcia
There is another solution, which depending on the resolution and amount of your data may be useful. You can find through interpolation the corners of four coordinates around any data point that define a four sides polygon. This grid so created does not need to be regular. Then, you can simple call

[R] how to plot a map on a non-rectilinear grid

2008-03-17 Thread Costas Douvis
Hi everyone I have a matrix (let's say that it contains the values of elevation) and want to plot its values on a map using a function such as image.plot or filled.contour. The problem is that my grid is not rectilinear, it is bended. Here is an example lon-matrix(0,20,25) lat-matrix(0,20,25)

Re: [R] how to plot a map on a non-rectilinear grid

2008-03-17 Thread Roger Bivand
Costas Douvis cdouvis at geol.uoa.gr writes: Hi everyone I have a matrix (let's say that it contains the values of elevation) and want to plot its values on a map using a function such as image.plot or filled.contour. The problem is that my grid is not rectilinear, it is bended. Here is