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
733da33e
Commit
733da33e
authored
Apr 05, 2017
by
unknown
Browse files
v1.0.6.9 butt line end style for precipitation plot in plot.OutputsModel
parent
43c54cc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
733da33e
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.0.6.
8
Version: 1.0.6.
9
Date: 2017-04-05
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl")),
...
...
R/plot.OutputsModel.R
View file @
733da33e
...
...
@@ -176,7 +176,7 @@ plot.OutputsModel <- function(x, Qobs = NULL, IndPeriod_Plot = NULL, BasinArea =
}
plot
(
Xaxis
,
OutputsModel
$
Precip
[
IndPeriod_Plot
],
type
=
"h"
,
xaxt
=
"n"
,
yaxt
=
"n"
,
yaxs
=
"i"
,
ylim
=
ylim2
,
col
=
"royalblue"
,
lwd
=
lwdP
*
lwdk
,
col
=
"royalblue"
,
lwd
=
lwdP
*
lwdk
,
lend
=
1
,
xlab
=
""
,
ylab
=
""
,
...
)
axis
(
side
=
2
,
at
=
pretty
(
ylim1
),
labels
=
pretty
(
ylim1
),
cex.axis
=
cex.axis
,
...
)
par
(
las
=
0
)
...
...
@@ -188,8 +188,10 @@ plot.OutputsModel <- function(x, Qobs = NULL, IndPeriod_Plot = NULL, BasinArea =
col
=
c
(
"lightblue"
,
"royalblue"
),
lty
=
c
(
1
,
1
),
lwd
=
c
(
lwd
,
lwd
),
bty
=
"o"
,
bg
=
bg
,
box.col
=
bg
,
cex
=
cex.leg
)
par
(
new
=
TRUE
)
plot
(
Xaxis
,
PsolLayerMean
[
IndPeriod_Plot
],
type
=
"h"
,
xaxt
=
"n"
,
yaxt
=
"n"
,
yaxs
=
"i"
,
ylim
=
ylim2
,
col
=
"lightblue"
,
lwd
=
lwdP
*
lwdk
,
xlab
=
""
,
ylab
=
""
,
...
)
plot
(
Xaxis
,
PsolLayerMean
[
IndPeriod_Plot
],
type
=
"h"
,
xaxt
=
"n"
,
yaxt
=
"n"
,
yaxs
=
"i"
,
ylim
=
ylim2
,
col
=
"lightblue"
,
lwd
=
lwdP
*
lwdk
,
lend
=
1
,
xlab
=
""
,
ylab
=
""
,
...
)
}
if
(
BOOL_Dates
)
{
axis
(
side
=
1
,
at
=
Seq1
,
labels
=
FALSE
,
cex.axis
=
cex.axis
,
...
)
...
...
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