Learn R Programming

IsoplotR (version 0.8)

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"), ellipse.col = rgb(0, 1, 0, 0.5), 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
ellipse.col
background colour of the error ellipses
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

Examples

Run this code
data(examples)
helioplot(examples$UThHe)
dev.new()
helioplot(examples$UThHe,logratio=FALSE)

Run the code above in your browser using DataLab