Learn R Programming

RSEIS (version 4.2-4)

colorwig: Plot a seimic trace colored in time

Description

Plot a seimic trace colored in time. useful for coordinating other plots to specific times along a seismic trace.

Usage

colorwig(x1, y1, COL = rainbow(100))

Value

Graphical Side Effects

Arguments

x1

x-coordinate (time)

y1

y-coordinate (amplitude)

COL

color palette

Author

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

Examples

Run this code

data(KH)

x <- KH$ex[KH$ex>95& KH$ex<125]
y <- KH$JSTR[[1]][KH$ex>95& KH$ex<125]


colorwig(x , y , rainbow(100))




Run the code above in your browser using DataLab