Commit cd8d2adc authored by unknown's avatar unknown
Browse files

v0.1.11.4 unused xlab argument removed in the dyplot.default function

parent c11c79fc
Package: airGRteaching
Type: Package
Title: Tools to Simplify the Use of the airGR Hydrological Package for Education (Including a Shiny Interface)
Version: 0.1.11.3
Version: 0.1.11.4
Date: 2018-01-29
Authors@R: c(person("Olivier", "Delaigue", role = c("aut", "cre"), email = "airGR@irstea.fr"), person("Laurent", "Coron", role = c("aut")), person("Pierre", "Brigode", role = c("aut")), person("Guillaume", "Thirel", role = c("ctb")))
Depends: airGR (>= 1.0.9.43)
......
dyplot.default <- function(x, Qsup = NULL, Qsup.name = "Qsup",
col.Precip = c("royalblue", "lightblue"), col.Q = c("black", "orangered", "grey"), col.na = "lightgrey",
xlab = NULL, ylab = NULL, main = NULL,
ylab = NULL, main = NULL,
plot.na = TRUE, RangeSelector = TRUE, Roller = FALSE,
LegendShow = c("follow", "auto", "always", "onmouseover", "never"), ...) {
......@@ -11,9 +11,6 @@ dyplot.default <- function(x, Qsup = NULL, Qsup.name = "Qsup",
stop("Non convenient data for x argument. Must be of class \"PrepGR\", \"CalGR\" or \"SimGR\"")
}
if (is.null(xlab)) {
xlab <- "Time"
}
if (is.null(ylab)) {
yunit <- .TypeModelGR(x)$TimeUnit
ylab <- paste0(c("flow [mm/", "precip. [mm/"), yunit, "]")
......
......@@ -12,7 +12,7 @@
\method{dyplot}{default}(x, Qsup = NULL, Qsup.name = "Qsup",
col.Precip = c("royalblue", "lightblue"),
col.Q = c("black", "orangered", "grey"), col.na = "lightgrey",
xlab = NULL, ylab = NULL, main = NULL,
ylab = NULL, main = NULL,
plot.na = TRUE, RangeSelector = TRUE, Roller = FALSE,
LegendShow = c("follow", "auto", "always", "onmouseover", "never"), ...)
}
......@@ -31,8 +31,6 @@
\item{col.na}{(optional) [character] color code or name for missing values(these can be of the form \code{"#AABBCC"} or \code{"rgb(255, 100, 200)"} or \code{"yellow"}), see \code{\link{par}} and \code{\link{rgb}}}
\item{xlab}{(optional) [character] a label for the x-axis}
\item{ylab}{(optional) [character] a label for the y-axis (flow and precipitation)}
\item{main}{(optional) [character] a main title for the plot}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment