View source: R/contPFarrivals.R
contPFarrivals | R Documentation |
Contour plot of arrival times recorded in a pickfile list.
contPFarrivals(PF, stas, proj=NULL, cont=TRUE, POINTS=TRUE, image=FALSE ,
col=RSEIS::tomo.colors(50), gcol="black", phase="P", add=TRUE)
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 |
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.
Graphical Side Effects
Jonathan M. Lees<jonathan.lees@unc.edu>
doAmap
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 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.