From acd83f4451ef356d1e9f595508ad6eb2a37df940 Mon Sep 17 00:00:00 2001
From: Delaigue Olivier <olivier.delaigue@irstea.priv>
Date: Thu, 2 May 2019 15:47:21 +0200
Subject: [PATCH] v1.2.14.19 UPDATE: ylim Precip expansion factor reduced in
 plot fun

---
 DESCRIPTION           | 2 +-
 NEWS.rmd              | 2 +-
 R/plot.OutputsModel.R | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/DESCRIPTION b/DESCRIPTION
index de84408c..c57b529b 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,7 +1,7 @@
 Package: airGR
 Type: Package
 Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
-Version: 1.2.14.18
+Version: 1.2.14.19
 Date: 2019-05-02
 Authors@R: c(
   person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
diff --git a/NEWS.rmd b/NEWS.rmd
index 5891cfba..2b820d03 100644
--- a/NEWS.rmd
+++ b/NEWS.rmd
@@ -14,7 +14,7 @@ output:
 
 
 
-### 1.2.14.18 Release Notes (2019-05-02)
+### 1.2.14.19 Release Notes (2019-05-02)
 
 
 #### New features
diff --git a/R/plot.OutputsModel.R b/R/plot.OutputsModel.R
index 9efad723..0ea0e1a1 100644
--- a/R/plot.OutputsModel.R
+++ b/R/plot.OutputsModel.R
@@ -401,7 +401,7 @@ plot.OutputsModel <- function(x, Qobs = NULL, IndPeriod_Plot = NULL, BasinArea =
     if (BOOL_Qobs) {
       ylim1 <- range(c(ylim1, DATA2[IndPeriod_Plot]), na.rm = TRUE)
     }
-    ylim2 <- c(ylim1[1], 1.2*ylim1[2])
+    ylim2 <- c(ylim1[1], 1.1*ylim1[2])
     plot(Xaxis, rep(NA, length(Xaxis)), type = "n", ylim = ylim2, xlab = "", ylab = "", xaxt = "n", yaxt = "n", ...)
     txtleg <- NULL
     colleg <- NULL
@@ -444,7 +444,7 @@ plot.OutputsModel <- function(x, Qobs = NULL, IndPeriod_Plot = NULL, BasinArea =
     if (BOOL_Qobs) {
       ylim1 <- range(c(ylim1, Qobs[IndPeriod_Plot]), na.rm = TRUE)
     }
-    ylim2 <- c(ylim1[1], 1.2*ylim1[2])
+    ylim2 <- c(ylim1[1], 1.1*ylim1[2])
     plot(Xaxis, rep(NA, length(Xaxis)), type = "n", ylim = ylim2, xlab = "", ylab = "", xaxt = "n", yaxt = "n", ...)
     txtleg <- NULL
     colleg <- NULL
-- 
GitLab