seiscols | R Documentation |
Given an RSEIS list of seismic data return a set of colors associated with the structure that colors each trace and its components the same color.
seiscols(GH, acols="black", M="STNS")
GH |
Seismic RSEIS list |
acols |
vector of colors to choose from |
M |
character, "STNS" = stations, "COMPS" = components |
colors |
alpha/numeric vector of colors |
Jonathan M. Lees<jonathan.lees@unc.edu>
data(GH)
GH$pcol <- seiscols(GH)
swig(GH, sel=which(GH$COMPS=="V"), WIN=c(3, 10), SHOWONLY=TRUE)
xcol <- seiscols(GH, acols=c("black", "darkmagenta", "forestgreen") )
GH$pcol <- xcol
swig(GH, sel=which(GH$COMPS=="V"), , SHOWONLY=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.