Commit 301a2768 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

docs(man): add an example about the use of the 'AxisTS' argument of the plot.OutputsModel function

Refs #122
parent d2c7b678
Pipeline #25081 passed with stages
in 37 minutes and 59 seconds
......@@ -136,6 +136,15 @@ plot(simGR4J$OutputsModel, Qobs = simGR4J$Qobs,
LayoutHeights = c(0.5, 1, 1))
### customize x-axis on time series plot
FunAxisTS <- function(x) {
axis.POSIXct(side = 1, x = x$DatesR,
at = pretty(x$DatesR, n = 10),
format = "\%Y-\%m-\%d")
}
plot(simGR4J$OutputsModel, Qobs = simGR4J$Qobs, AxisTS = FunAxisTS)
### add a main title
## the whole list of settable par's
......
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