contPFarrivals {Rquake}R Documentation

Contour Pickfile Arrivals

Description

Contour plot of arrival times recorded in a pickfile list.

Usage

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



library(RSEIS)

data(GH, package='RSEIS')

sta = GH$stafile
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 )



[Package Rquake version 2.5-1 Index]