Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HYCAR-Hydro
airGR
Commits
301a2768
Commit
301a2768
authored
Jul 17, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
man/plot.OutputsModel.Rd
View file @
301a2768
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment