Commit c55345f3 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v0.2.10.17 UPDATE: in the GUI, the GR2M model diagram now displays the Pr flux #14

parent aa6b2285
Package: airGRteaching
Type: Package
Title: Teaching Hydrological Modelling with the GR Rainfall-Runoff Models ('Shiny' Interface Included)
Version: 0.2.10.16
Version: 0.2.10.17
Date: 2020-04-17
Authors@R: c(
person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@inrae.fr"),
......
......@@ -4,7 +4,7 @@
### 0.2.10.16 Release Notes (2020-04-17)
### 0.2.10.17 Release Notes (2020-04-17)
#### New features
......
......@@ -441,6 +441,19 @@ if (getRversion() >= "2.15.1") {
segments(x0 = x_PnPs, x1 = x_PnPs,
y0 = y_percolation, y1 = y_entreeUH+tmp_decal/2)
if (HydroModel == "GR2M") {
# Pr
plotrix::boxed.labels(x = x_PnPs, y = y_percolation, labels = "Pr",
bg = col_mod_bg, border = NA, xpad = xpad, ypad = ypad)
if (OutputsModel$PR[i_pdt] != 0) {
points(x = x_PnPs[1], y = y_entreeUH+tmp_decal,
type = "p", pch = tri_B, col = col_P,
cex = cex_tri(OutputsModel$PR[i_pdt], fact = fact_triangle, max = cex_max_poly))
}
}
if (HydroModel %in% c("GR4J", "GR6J")) {
# --------------------------------------------------------------------------------
......
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