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
Showing with 9 additions and 0 deletions
+9 -0
......@@ -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
......
Supports Markdown
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