RTOMO (version 1.1-6)

PLOT.TOMOXSEC: Plot a tomographic cross section

Description

Plot a tomographic cross section that has been extracted from the model previously with TOMO3D.drive

Usage

PLOT.TOMOXSEC(XZSEC, depth = c(-25, 0), COL = NULL, LIM = NULL, STA = NULL, ADD = FALSE)

Arguments

XZSEC

Cross section list

depth

Depth range

COL

color palette

LIM

limits for values in image

STA

stations to be projected

ADD

logical, TRUE=add to existing plot

Value

Graphical Side Effects

See Also

TOMOXSEC, XSEC.drive

Examples

Run this code
# NOT RUN {
data(HELMOD)

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

###  create the cross section:
XZ = TOMOXSEC(HELMOD, L$x[1], L$y[1], L$x[2],  L$y[2] , zmax=20, COL=tomo.colors(100), PLOT=FALSE)


###  Now plot the cross section
PLOT.TOMOXSEC(XZ)

# }

Run the code above in your browser using DataLab