R: Plot a seimic trace colored in time

colorwig {RSEIS} | R Documentation

## 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))

### Arguments

`x1` | x-coordinate (time)
`y1` | y-coordinate (amplitude)
`COL` | color palette

### Value

Graphical Side Effects

### Author(s)

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

### Examples

    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))

[Package RSEIS version 3.7-4 Index]