PlotChart: plots the interference chart

Description Usage Arguments Details Value Author(s) References Examples

View source: R/PlotChart.R

Description

PlotChart plots the result of a call to InterferenceTable

Usage

1
2
PlotChart(IC, type = "Sorensen", Thickness = 30, x.lims = NULL,
  radials = FALSE)

Arguments

IC

Dataframe from InterferenceTable.

type

Chart type (see Details).

Thickness

If not NULL, a horizontal line is drawn at h= Thickness (in micrometers).

x.lims

Plotting range, horizontal axis (when NULL, defaults to c(0,0.05) for Raith-Sorensen plots and to c(0,2500) for Michel-Levy plots).

radials

If TRUE iso-birefringence lines will be plotted (on Michel-Levy chart only).

Details

If type belongs to c("Sorensen","S","Raith-Sorensen","RS"), the function plots interference colors on a grid with birefringence as horizontal axis and thickness as vertical axis. If type belongs to c("Michel-Levy","ML","MichelLevy","M"), the horizontal axis is retardation (in nanometers) as in the classical Michel-Levy plot. When radials is set to TRUE, birefringence appears as oblique lines with rounded values printed at their end

Value

a Sorensen or Michel-Levy plot

Author(s)

Olivier Eterradossi, [email protected]

References

Sorensen, B.E. (2013) A revised Michel-Levy interference colour chart based on first-principles calculations. Eur. J. Mineral., 2013, 25, 5-10. DOI:10.1127/0935-1221/2013/0025-2252

Examples

1
2
3
4
5
6
7
## Not run: 
PlotChart(IC=IC1,type="RS")
PlotChart(IC=IC1,type="ML")
PlotChart(IC=IC1,type="ML",radials=TRUE)
PlotChart(IC=IC1,type="ML",x.lims=range(IC1[,6]),Thickness = 35)

## End(Not run)

interfr documentation built on July 13, 2017, 5:02 p.m.