Learn R Programming

IsoplotR (version 0.17)

helioplot: Visualise U-Th-He data on a logratio plot or ternary diagram

Description

Plot U-Th(-Sm)-He data on a (log[He/Th] vs. log[U/He]) logratio plot or U-Th-He ternary diagram

Usage

helioplot(x, logratio = TRUE, show.central.comp = TRUE,
  show.numbers = FALSE, alpha = 0.05, contour.col = c("white", "red"),
  levels = NA, ellipse.col = c("#00FF0080", "#0000FF80"), sigdig = 2,
  xlim = NA, ylim = NA, fact = NA, ...)

Arguments

x

an object of class UThHe

logratio

Boolean flag indicating whether the data should be shown on bivariate log[He/Th] vs. log[U/He] diagramme, or a U-Th-He ternary diagramme.

show.central.comp

show the geometric mean composition as a white ellipse?

show.numbers

show the grain numbers inside the error ellipses?

alpha

confidence cutoff for the error ellipses

contour.col

two-element vector with the fill colours to be assigned to the minimum and maximum age contour

levels

a vector with additional values to be displayed as different background colours within the error ellipses.

ellipse.col

a vector of two background colours for the error ellipses. If levels=NA, then only the first colour will be used. If levels is a vector of numbers, then ellipse.col is used to construct a colour ramp.

sigdig

number of significant digits for the central age

xlim

optional limits of the x-axis (log[U/He]) of the logratio plot. If xlim=NA, the axis limits are determined automatically.

ylim

optional limits of the y-axis (log[Th/He]) of the logratio plot. If ylim=NA, the axis limits are determined automatically.

fact

three-element vector with the scaling factors of the ternary diagram if fact=NA, these will be determined automatically

...

optional arguments to the generic plot function

References

Vermeesch, P., 2010. HelioPlot, and the treatment of overdispersed (U-Th-Sm)/He data. Chemical Geology, 271(3), pp.108-111.

Examples

Run this code
# NOT RUN {
data(examples)
helioplot(examples$UThHe)
dev.new()
helioplot(examples$UThHe,logratio=FALSE)
# }

Run the code above in your browser using DataLab