An error occurred while loading the file. Please try again.
-
unknown authored2dedcf42
\encoding{UTF-8}
\name{plot.ObsGR}
\alias{plot.ObsGR}
\title{Time series plotting GR objects}
\usage{
\method{plot}{ObsGR}(x, type = "l", col.Precip = "royalblue", col.Q = "black", col.na = "grey",
xlab = "Time", ylab = c("Precipitation [mm]", "Flow [mm]"), main = "",
plot.na = TRUE, ...)
}
\arguments{
\item{x}{[object of class \emph{ObsGR}] see \code{\link{ObsGR}} for details}
\item{type}{[character] what type of plot should be drawn: see \code{\link{plot}} for details}
\item{col.Precip}{[character] vector of 1 color code or name for rainfall, see \code{\link{par}}}
\item{col.Q}{[character] vector of 1 color code or name for for observed flow, see \code{\link{par}}}
\item{col.na}{[character] color code or name for missign values, see \code{\link{par}}}
\item{xlab}{[character] a title for the x axis: see \code{\link{title}}}
\item{ylab}{[character] a title for the y axis: see \code{\link{title}}}
\item{main}{[character] an overall title for the plot: see \code{\link{title}}}
\item{plot.na}{[boolean] boolean indicating if tna missing values are plotted on the x axis}
\item{...}{other parameters to be passed through to plotting functions}
}
\seealso{
\code{\link{ObsGR}}
}
\description{Time series plotting GR objects}
\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
w1 <- ObsGR(ObsBV = BasinObs2, TypeModel = "GR4J", CemaNeige = FALSE)
## Observed data plotting
plot(w1)
}