Learn R Programming

RSEIS (version 2.6-0)

seiscols: Set colors for seismic display

Description

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.

Usage

seiscols(GH, acols="black", M="STNS")

Arguments

Value

  • colorsalpha/numeric vector of colors

Examples

Run this code
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)

Run the code above in your browser using DataLab