plot.minsorting: Plot inferred grain size distributions

Description Usage Arguments See Also Examples

View source: R/plot.R

Description

Plot the grain size distributions of the different minerals under consideration

Usage

1
2
## 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 to be passed on to graphics::matplot (see ?par for details)

See Also

minsorting

Examples

1
2
3
4
5
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'))

provenance documentation built on May 5, 2021, 1:06 a.m.