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
ca94147d
Commit
ca94147d
authored
Jul 11, 2017
by
unknown
Browse files
v1.0.9.11 bug fixed in y-axis labelling of plot.OutputsMode when argument BasinArea is used #4660
parent
854d1b97
Changes
2
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
ca94147d
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.0.9.1
0
Version: 1.0.9.1
1
Date: 2017-07-11
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl")),
...
...
R/plot.OutputsModel.R
View file @
ca94147d
...
...
@@ -415,7 +415,7 @@ plot.OutputsModel <- function(x, Qobs = NULL, IndPeriod_Plot = NULL, BasinArea =
if
(
BOOL_Pobs
)
{
posleg
<-
"right"
;
txtlab
<-
"precip. & flow regime"
;
}
par
(
las
=
0
);
mtext
(
side
=
2
,
paste0
(
txtlab
,
" "
,
plotunitregime
),
line
=
line
,
cex
=
cex.lab
);
par
(
las
=
0
);
if
(
!
is.null
(
BasinArea
))
{
Factor
<-
Factor_
MMM
_M3S
;
Factor
<-
Factor_
UNIT
_M3S
;
axis
(
side
=
4
,
at
=
pretty
(
ylimQ
*
Factor
)
/
Factor
,
labels
=
pretty
(
ylimQ
*
Factor
),
cex.axis
=
cex.axis
,
...
);
par
(
las
=
0
);
mtext
(
side
=
4
,
paste0
(
"flow "
,
"m3/s"
),
line
=
line
,
cex
=
cex.lab
);
par
(
las
=
0
);
}
### posleg <- "topright"; if (BOOL_Pobs) { posleg <- "right"; }
...
...
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