RTOMO (version 1.1-3)

TOMOXSEC: Plot Tomographic Cross Section

Description

Plot Tomographic Cross Section (non-interactive)

Usage

TOMOXSEC(MOD, x1, y1, x2, y2, zmax = 100, depth = c(-25, 0), COL = rainbow(100), LIM = NULL, STA = NULL, PLOT = TRUE)

Arguments

MOD
Model List
x1
x-coordinate for point 1
y1
y-coordinate for point 1
x2
x-coordinate for point 2
y2
y-coordinate for point 2
zmax
maximum depth
depth
depth for scale
COL
color palette
LIM
Value limits for colors
STA
station list
PLOT
logical, TRUE=plot

Value

xz
list of a cross section

See Also

PLOT.TOMOXSEC, FANCY.TOMO

Examples

Run this code


data(HELMOD)

### after L = locator(2)
L=list()
L$x=c( 4.21883807095,23.99298268599)
L$y=c(15.8014536521,11.4951858659)

XZ = TOMOXSEC(HELMOD, L$x[1], L$y[1], L$x[2],  L$y[2] ,
zmax=20, COL=tomo.colors(100), PLOT=TRUE)


Run the code above in your browser using DataLab