Learn R Programming

RSEIS (version 2.1-6)

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

Arguments

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

Value

  • Graphical Side Effects

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