[R-sig-Geo] plot contour map for irregular data points

Don MacQueen macq at llnl.gov
Thu Sep 13 01:09:32 CEST 2007


See the help for the interp() function in the akima package. It has 
some examples that should be reasonably easy to follow.

-Don

At 2:48 PM +0200 9/12/07, Andre Jung wrote:
>Hello,
>
>I'm dealing with the following problem:
>
>I have a table with x and y coordinates and corresponding values of a
>mineral concentration, let's call it z.
>
>Can someone provide me a short step-by-step manual for the steps
>necessary to get a contour map?
>
>How to sort and interpolate my matrix to an equidistant grid which can
>afterwards be plotted by contour(x,y,z)? (e.g. fill the missing
>locations with NAs.)
>
>Thanks, guys.
>
>_______________________________________________
>R-sig-Geo mailing list
>R-sig-Geo at stat.math.ethz.ch
>https://stat.ethz.ch/mailman/listinfo/r-sig-geo


-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
925-423-1062




More information about the R-sig-Geo mailing list