From 2c1b065bb88570474fa9fa7e4a502d309e5a868c Mon Sep 17 00:00:00 2001 From: unknown <olivier.delaigue@ANPI1430.antony.irstea.priv> Date: Thu, 30 Mar 2017 10:26:52 +0200 Subject: [PATCH] v1.0.5.29 plot.OutputsModel() use month.abb for x labels of the regime plot --- DESCRIPTION | 2 +- R/plot.OutputsModel.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 9bb4eefb..3d710d0b 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.0.5.28 +Version: 1.0.5.29 Date: 2017-03-30 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl")), diff --git a/R/plot.OutputsModel.R b/R/plot.OutputsModel.R index b14109a8..662d1847 100644 --- a/R/plot.OutputsModel.R +++ b/R/plot.OutputsModel.R @@ -340,7 +340,7 @@ plot.OutputsModel <- function(x, Qobs = NULL, IndPeriod_Plot = NULL, BasinArea = labX <- ""; } xLabels1 <- rep("", 13); - xLabels2 <- c("jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"); + xLabels2 <- month.abb ylimQ <- range(c(DataPlotQ$Qobs, DataPlotQ$Qsim), na.rm = TRUE); if(BOOL_Pobs){ ylimP <- c(max(DataPlotP$Precip, na.rm = TRUE), 0); } txtleg <- NULL; colleg <- NULL; lwdleg <- NULL; lwdP = 10; -- GitLab