R: set up matrices for selecting from eTOPO5

setplotmat {GEOmap} | R Documentation

## set up matrices for selecting from eTOPO5

### Description

set up matrices for selecting from eTOPO5

### Usage

    setplotmat(x, y)

### Arguments

`x` | vector of lons
`y` | vector of lats

### Details

For extracting from ETOPO5 and ETOPO2, used internally in DOTOPOMAPI

### Value

list(x=EX, y=WHY)

### Author(s)

Jonathan M. Lees<jonathan.lees.edu>

### See Also

DOTOPOMAPI

### Examples

    PLOC= list(LON=c(138.3152, 139.0214),
    LAT=c(35.09047, 35.57324))

    ax = seq(from=PLOC$LON[1],   to=PLOC$LON[2], length=10)
    ay = seq(from=PLOC$LAT[1],   to=PLOC$LAT[2], length=10)

     G = setplotmat(ax,ay)

[Package GEOmap version 2.4-0 Index]