plot.minsorting | R Documentation |
Plot the grain size distributions of the different minerals under consideration
## S3 method for class 'minsorting'
plot(x, cumulative = FALSE, components = NULL, ...)
x |
an object of class |
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 |
minsorting
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'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.