Learn R Programming

GEOmap (version 2.5-11)

setplotmat: set up matrices for selecting from eTOPO5

Description

set up matrices for selecting from eTOPO5

Usage

setplotmat(x, y)

Value

list(x=EX, y=WHY)

Arguments

x

vector of lons

y

vector of lats

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

For extracting from ETOPO5 and ETOPO2, used internally in DOTOPOMAPI

See Also

DOTOPOMAPI

Examples

Run this code
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)

Run the code above in your browser using DataLab