Learn R Programming

provenance (version 0.6)

plot.minsorting: Plot inferred grain size distributions

Description

Plot the grain size distributions of the different minerals under consideration

Usage

## S3 method for class 'minsorting':
plot(x, cumulative = FALSE, components = NULL, ...)

Arguments

x
an object of class minsorting
cumulative
boolean flag indicating whether the grain size distribution should be plotted as a density or cumulative probability curve.
components
string or list of strings with the names of a subcomposition that needs plotting
...
optional parameters (see ?par for details)

See Also

minsorting

Examples

Run this code
data(endmembers,densities)
OPH <- subset(endmembers,select="ophiolite")
distribution <- minsorting(OPH,densities,phi=2,sigmaphi=1,medium="air",by=0.05)
plot(distribution,components=c('F','px','opaques'))

Run the code above in your browser using DataLab