TAS_plot: TAS plot

Description Usage Arguments Details Value Examples

View source: R/TAS_plot.R

Description

Create a TAS plot, using fields of different magma composition after Le Maitre (2002). Based on code by John Stevenson: https://all-geo.org/volcan01010/2015/01/easily-plot-magma-compositions-tas-diagrams-in-python/

Usage

1
TAS_plot(data, colour, symbol)

Arguments

data

A data frame containing the columns SiO2, K2O, Na2O, Total

colour

The variable which sets the plotting colour (e.g. ash fall)

ymin

The lower depth of the sample

ymax

The upper depth of the sample

concs

Glass shard concentrations

Details

Le Maitre RW (2002) Igneous rocks: IUGS classification and glossary of terms: recommendations of the International Union of Geological Sciences Subcommission on the Systematics of igneous rocks, 2nd ed. Cambridge University Press, Cambridge

Value

A plot of glass shard concentration against depth

Examples

1
plot <- strat_plot(data, Lower_m, Upper_m, Conc_sg, Fall);

amy-mcg/tephrochron documentation built on Dec. 13, 2020, 3:44 p.m.