\encoding{UTF-8} \name{plot.CalGR} \alias{plot.CalGR} \title{Time series plotting GR calibration objects} \usage{ \method{plot}{CalGR}(x, xlab = NULL, ylab = NULL, main = NULL, which = c("perf", "iter", "ts"), ...) } \arguments{ \item{x}{[object of class \emph{CalGR}] see \code{\link{CalGR}} for details} \item{xlab}{(optional) [character] a label for the x axis: see \code{\link{title}}} \item{ylab}{(optional) [character] a label for the y axis (flow and precipitation) (see \code{\link{title}})} \item{main}{(optional) [character] a main title for the plot (see \code{\link{title}})} \item{which}{[character] choice of the plot type (\code{"perf"} (default): plot diagnostics; \code{"iter"}: parameter values and the calibration criterion during the progression steps of calibration; \code{"ts"}: time series of observed precipitation and observed and simulated flows)} \item{...}{other parameters to be passed through to plotting functions} } \description{Time series plotting GR calibration objects} \seealso{ \code{\link{CalGR}} } \author{Olivier Delaigue} \examples{ library(airGR) ## data.frame of observed data data(L0123001) BasinObs2 <- BasinObs[, c("DatesR", "P", "E", "Qmm", "T")] ## Preparation of observed data for modelling OBS <- ObsGR(ObsBV = BasinObs2, TypeModel = "GR5J", CemaNeige = TRUE) ## Calibration step CAL <- CalGR(ObsGR = OBS, CalCrit = c("NSE", "KGE", "KGE2", "RMSE"), WupPer = NULL, CalPer = c("1990-01-01", "1993-12-31")) plot(CAL, which = "perf") plot(CAL, which = "ts") plot(CAL, which = "iter") }