contPFarrivals: Contour Pickfile Arrivals

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/contPFarrivals.R

Description

Contour plot of arrival times recorded in a pickfile list.

Usage

1
2
contPFarrivals(PF, stas, proj=NULL, cont=TRUE, POINTS=TRUE, image=FALSE ,
             col=RSEIS::tomo.colors(50), gcol="black",   phase="P", add=TRUE)

Arguments

PF

Pickfile list in RSEIS format

stas

station list

proj

projection from GEOmap

cont

logical, add contour to plot

POINTS

logical, add mark up (stations) to plot

image

logical, add image to plot

col

color palette for image

gcol

color for contour lines

phase

character, phase to contour

add

logical, TRUE=add to existing plot

Details

Contours the arrival time. The earliest arrival is subtracted from each time pick. Uses only the phase indicated and there can be only one phase per station - default is earliest at each station.

Value

Graphical Side Effects

Author(s)

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

See Also

doAmap

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 
library(RSEIS)
data(GH)
data(coso_sta_LLZ)
sta = coso_sta_LLZ
g1 = GH$pickfile


proj = GEOmap::setPROJ(type=2, LAT0 =median(sta$lat) , LON0 = median(sta$lon))


grcol =  grey(seq(from=0.3, to=0.95, length=50))
  contPFarrivals(g1, sta, proj=proj,cont=TRUE, POINTS=TRUE,
                           image=TRUE , col=grcol,     phase="P",
add=FALSE )


## End(Not run)

Rquake documentation built on Dec. 16, 2020, 5:06 p.m.