Learn R Programming

Rquake (version 1.2-2)

doAmap: Plot a map of station locations

Description

Plot a map of station locations

Usage

doAmap(stas, doproj = TRUE)

Arguments

stas
station list
doproj
logical, if TRUE, project (UTM) the data so plot is in units of km with the median lat-lon as the center. If FALSE, use the lat-lon coordinates.

Value

  • list, GEOmap projection

Details

The range of the plot is expanded by 10 percent prior to plotting.

See Also

gMAP,expandbound,GLOB.XY

Examples

Run this code
fsta = "/Users/lees/Site/CHAC/staLLZ.txt"
stas = scan(file=fsta,what=list(name="", lat=0, lon=0, z=0))
stas$z = stas$z/1000

doAmap(stas, doproj = TRUE)

Run the code above in your browser using DataLab