Learn R Programming

TauP.R (version 1.5)

Earthplot: Planet Cross-section

Description

Plots a planet cross-section for a specified model.

Usage

Earthplot(model, prop = "vp", image.col = heat.colors(500), n = 200, add = FALSE, ...)

Arguments

model

Planet model

prop

Property to scale image by: one of 'vp', 'vs', 'rho'

image.col

Color vector for the image

n

Number of pixels per side of the plot

add

Add to existing figure? 'image' overplots whatever is below it, so rarely useful.

Other parameters for 'image'

Value

None, plots only.

Details

Plots lines illustrating discontinuities with background colors indicating one of vp, vs, or density.

See Also

Rayfan, DistSummary

Examples

Run this code
# NOT RUN {
data(model)

Earthplot(model)
# }

Run the code above in your browser using DataLab