annotate {GCDkit}R Documentation

Reformatting labels for the plots

Description

Function to reformat sub- and superscripts for production of "publication quality" plots.

Usage

annotate(text)

Arguments

text

a text string

Details

Apart from names of oxides, the function can handle the following strings used by the plugin 'SrNd.r':

'87Rb/86Sr' '87Sr/86Sr' '87Sr/86Sri'
'147Sm/144Nd' '143Nd/144Nd' '143Nd/144Ndi' 'EpsNdi' 

Value

An expression with reformatted text string.

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz

Examples

  plot(1,1,xlab=annotate("SiO2/Fe2O3"),ylab=annotate("K2O-P2O5"))
  plot(1,1,xlab=annotate("87Rb/86Sr"),ylab=annotate("87Sr/86Sr"))

[Package GCDkit version 4.1 Index]