rbacon (version 2.4.2)

draw.pbmodelled: Plot the 210Pb data

Description

Produce a plot of the 210Pb data and their depths

Usage

draw.pbmodelled(
  set = get("info"),
  BCAD = set$BCAD,
  rotate.axes = FALSE,
  rev.d = FALSE,
  rev.age = FALSE,
  pb.lim = c(),
  d.lim = c(),
  d.lab = c(),
  pb.lab = c(),
  pbmodelled.col = function(x) rgb(0, 0, 1, x),
  pbmeasured.col = "blue",
  supp.col = "red",
  plot.measured = TRUE,
  age.lim = c()
)

Arguments

set

Detailed information of the current run, stored within this session's memory as variable info.

BCAD

The calendar scale of graphs is in cal BP by default, but can be changed to BC/AD using BCAD=TRUE.

rotate.axes

The default of plotting age on the horizontal axis and event probability on the vertical one can be changed with rotate.axes=TRUE.

rev.d

The direction of the depth axis can be reversed from the default (rev.d=TRUE).

rev.age

The direction of the calendar age axis can be reversed from the default (rev.age=TRUE)

pb.lim

Minimum and maximum of the 210Pb axis ranges, calculated automatically by default (pb.lim=c()).

d.lim

Minimum and maximum depths to plot; calculated automatically by default (d.lim=c()).

d.lab

The labels for the depth axis. Default d.lab="Depth (cm)".

pb.lab

The label for the 210Pb axis (default pb.lab="210Pb (Bq/kg)" or "210Pb (dpm/g)").

pbmodelled.col

Colour of the modelled 210Pb values. Defaults to scales of blue: pbmodelled.col=function(x) rgb(0,0,1,x).

pbmeasured.col

Colour of the measured 210Pb values. Defaults to blue.

supp.col

Colour of the supported 210Pb data. Defaults to red: supp.col="red".

plot.measured

Plot the measured 210Pb values (default plot.measured=TRUE).

age.lim

values of the age axis. Used to calculate where to plot the pb values on the secondary axis

Value

A plot of the modelled (and optionally the measured) 210Pb values

Details

This function is generally called internally to produce the age-depth graph. It can be used to produce custom-built graphs.