Skip to content

Commit

Permalink
Merge pull request #1023 from wadpac/issue1022-add-variable-default
Browse files Browse the repository at this point in the history
add default value for variable extranoons
  • Loading branch information
vincentvanhees authored Jan 29, 2024
2 parents c620d16 + 04b21eb commit 64ca5a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/g.plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ g.plot = function(IMP, M, I, durplot) {
x.intersp = x.intersp, ncol = 4, cex = 0.6, lwd = 0.6,
bg = "white", box.col = "black")
}
extranoons = c()
if (length(mnights) > 0 & length(noons) > 0) {
# axis 1: midnight, noon labels (including one extra day at the beginning and end)
extramnights = c(mnights[1] - n_ws2_perday, mnights, max(mnights) + n_ws2_perday)
Expand Down

0 comments on commit 64ca5a3

Please sign in to comment.