fdc(x, ...)## S3 method for class 'default':
fdc(x,lQ.thr=0.7,hQ.thr=0.2, plot=TRUE, log="y", main="Flow Duration Curve",
xlab="\% Time flow equalled or exceeded", ylab="Q, [m3/s]", ylim,
col="black", pch=1, lwd=1, lty=1, cex=0.4, leg.txt=NULL, verbose= TRUE,
thr.shw=TRUE, new=TRUE, ...)
## S3 method for class 'matrix':
fdc(x, lQ.thr=0.7, hQ.thr=0.2, plot=TRUE, log="y", main= "Flow Duration Curve",
xlab="\% Time flow equalled or exceeded", ylab="Q, [m3/s]", ylim,
col=palette("default")[1:ncol(x)], pch=1:ncol(x), lwd=rep(1, ncol(x)),
lty=1:ncol(x), cex=0.4, leg.txt= colnames(x), verbose=TRUE,
thr.shw=TRUE, new=TRUE, ...)
## S3 method for class 'data.frame':
fdc(x, lQ.thr=0.7, hQ.thr=0.2, plot=TRUE, log="y", main= "Flow Duration Curve",
xlab="\% Time flow equalled or exceeded", ylab="Q, [m3/s]", ylim,
col=palette("default")[1:ncol(x)], pch=1:ncol(x), lwd=rep(1, ncol(x)),
lty=1:ncol(x), cex=0.4, leg.txt= colnames(x), verbose=TRUE,
thr.shw=TRUE, new=TRUE, ...)
plot
. A title for the x axis.plot
. A title for the y axis.plot.default
. The y limits of the plot.plot.default
. The colors to be used for lines and points. Multiple colors can be specified so that each point can be given its own color. If there are fewer colors than points they are recyplot.default
. A vector of plotting characters or symbols: see points
.plot.default
. The line width, see par
.plot.default
. The line type, see par
.plot.default
. A numerical vector giving the amount by which plotting characters and symbols should be scaled relative to the default.
This works as a multiple of x
.x
is a matrix or data.frame).lQ.thr
and hQ.thr
have to be shown in the plot.plot
is TRUE (default), the resulting flow duration curve is plotted in a new window.fdcu
## Loading daily streamflows at the station Oca en Ona (Ebro River basin, Spain) ##
data(OcaEnOnaQts)
## Daily Flow Duration Curve
fdc(OcaEnOnaQts)
Run the code above in your browser using DataLab