plotLextreme  R Documentation 
Plots distributions fitted by Lmoments and adds plotting positions by Weibull and Gringorton.
This is an auxiliary graphing function to distLextreme
plotLextreme( dlf, selection = NULL, order = FALSE, add = FALSE, nbest = 5, log = "", xlim = NULL, ylim = NULL, las = 1, main = dlf$datname, xlab = "Return Period RP [a]", ylab = "Discharge HQ [m\U00B3/s]", PPcol = "black", PPpch = c(16, 3), PPcex = 1, distcols = berryFunctions::rainbow2(nbest), lty = 1, lwd = 1, pch = NA, cex = 1, n_pch = 15, legend = TRUE, rmse = 4, legargs = NULL, quiet = FALSE, logargs = NULL, ... )
dlf 
List as returned by 
selection 
Selection of distributions. Character vector with type as in

order 
If selection is given, should legend and colors be ordered by gof anyways? DEFAULT: FALSE 
add 
If TRUE, plot is not called before adding lines. This lets you add lines to an existing plot. DEFAULT: FALSE 
nbest 
Number of distributions plotted, in order of goodness of fit. Overwritten internally if selection is given. DEFAULT: 5 
log 
Charstring ("x", "y", "xy") for logarithmic axes. See 
xlim 
Xaxis limits. DEFAULT: xlim of plotting positions 
ylim 
Ylim. DEFAULT: from min to extended max 
las 
LabelAxisStyle to orient labels, see 
main 
Title of plot. DEFAULT: dlf$datname 
xlab 
X axis label. DEFAULT: "Return Period RP [a]" 
ylab 
Y axis label. Please note that the ubuntu pdf viewer might be unable to display unicode superscript. DEFAULT: "Discharge HQ [m3/s]" 
PPcol 
Plotting Position point colors, vector of length two for Weibull and Gringorton, recycled. PP are not used for fitting distributions, but for plotting only. DEFAULT: "black" 
PPpch 
point characters for plotting positions after Weibull and Gringorton, respectively. NA to suppress in plot and legend. DEFAULT: c(16,3) 
PPcex 
Character EXpansion of plotting points. DEFAULT: 1 
distcols 
Color for each distribution added with 
lty 
Line TYpe for plotted distributions. Is recycled to from a vector of length nbest, i.e. a value for each dist. DEFAULT: 1 
lwd 
Line WiDth of distribution lines. Recycled vector of length nbest. DEFAULT: 1 
pch 
Point CHaracter of points added at regular intervals. This makes lines more distinguishable from each other. NA to suppress. Recycled vector of length nbest. DEFAULT: NA 
cex 
if pch != NA, size of points. Recycled vector of length nbest. DEFAULT: 1 
n_pch 
Number of points spread evenly along the line. Recycled vector of length nbest. DEFAULT: 15 
legend 
Logical. Add a legend? DEFAULT: TRUE 
rmse 
Integer. If rmse > 0, RMSE values are added to legend.
They are rounded to 
legargs 
list of arguments passed to 
quiet 
Suppress notes? DEFAULT: FALSE 
logargs 
list of arguments passed to 
... 
Further arguments passed to 
invisible dlf object, see printL
Berry Boessenkool, berryb@gmx.de, March 2015, updated heavily Aug 2015
distLextreme
, plotLfit
#see ?distLextreme
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.