powered by
This function provides a histogram of the grain-size distribution with a cumulative percentage curve
granplot(x, xc = 1, meshmin=1, hist = TRUE, cum = TRUE, main = "", col.cum = "red", col.hist="darkgray", cexname=0.9, cexlab=1.3, decreasing=FALSE, log.scale=TRUE)
A histogram with a cumulative percentage curve
A numeric matrix or data frame (see the shape of data(granulo))
A numeric value or a numeric vector to define columns
Define the size of the smallest meshsize if it is 0 in raw data
If TRUE, display a histogram; if FALSE, do not display a histogram (only for only one column)
If TRUE, display a cumulative percentage curve; if FALSE do not display a cumulative percentage curve (only for only one column)
Add a title to the current plot
Color in which cumulative percentage curve will be drawn
Color in which histogram will be drawn
A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default.
A numerical value giving the amount by which axis labels should be magnified relative to the default.
A logical value defining the order increasing or decreasing
A logical value; if TRUE (default), use logarithmic scale for x-axis; if FALSE, use linear scale
Regis K. Gallon (CNAM-Intechmer) regis.gallon@lecnam.net Jerome Fournier (CNRS) fournier@mnhn.fr
The obtained graph is the most commonly used by Sedimentologists
grandistrib
data(granulo) granplot(granulo,xc=1,hist=TRUE,cum=TRUE,main="Grain-size Distribution", col.hist="gray",col.cum="red") granplot(granulo,xc=2:4,main="Grain-size Distribution")
Run the code above in your browser using DataLab