Learn R Programming

Rquake (version 2.5-1)

doAmap: Plot a map of station locations

Description

Plot a map of station locations

Usage

doAmap(stas, doproj = TRUE)

Value

list, GEOmap projection

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.

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

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

See Also

gMAP,expandbound,GLOB.XY

Examples

Run this code

data(coso_sta_LLZ)
###  or read in from file:
##   fsta = "staLLZ.txt"
##  stas = scan(file=fsta,what=list(name="", lat=0, lon=0, z=0))
##  stas$z = stas$z/1000

stas = coso_sta_LLZ

STA = doAmap(stas, doproj = TRUE)



Run the code above in your browser using DataLab