plot.minsorting: Plot inferred grain size distributions

View source: R/plot.R

plot.minsortingR Documentation

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

See Also

minsorting

Examples

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 29, 2024, 4:23 a.m.