Usage
distLextremePlot(dlf, selection = NULL, order = FALSE, add = FALSE, nbest = 5, log = FALSE, 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, coldist = berryFunctions::rainbow2(nbest), lty = 1, lwd = 1, pch = NA, cex = 1, n_pch = 15, legend = TRUE, legargs = NULL, quiet = FALSE, ...)
Arguments
dlf
List as returned by distLextreme
, containing the elements dat, dleB <- distLexBoot(dlf, nbest=4, conf.lev=0.5), gof
. selection
Selection of distributions. Character vector with type as in lmom2par
. DEFAULT: NULL 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
Logarithmic x-axis? DEFAULT: FALSE
xlim
X-axis limits. DEFAULT: xlim of plotting positions
ylim
Y-lim. DEFAULT: from min to extended max
las
LabelAxisStyle to orient labels, see par
. DEFAULT: 1 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 Grongorton, respectively. NA to suppress in plot and legend. DEFAULT: c(16,3)
PPcex
Character EXpansion of plotting points. DEFAULT: 1
coldist
Color for each distribution added with lines
. Recycled, if necessary. DEFAULT: rainbow2
lty
Line TYpe for plotted distributions. Is recycled to from a vector of length nbest, i.e. a value for each distribution function drawn. DEFAULT: 1
lwd
Line WiDth of distribution lines. Recycled vector of length nbest. DEFAULT: 1
pch
Point CHaracter of points added at regular intervals. 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
legargs
list of arguments passed to legend
except for legend, col, pch, lwd, lty. DEFAULT: NULL quiet
Suppress notes? DEFAULT: FALSE
...
Further arguments passed to plot
like yaxt="n", ...