| Previous changeset 138:3f1c93b0e8c6 (2018-11-21) Next changeset 140:6b772cf48160 (2018-11-21) |
|
Commit message:
Uploaded |
|
modified:
utils.R |
| b |
| diff -r 3f1c93b0e8c6 -r 0440f1c7715e utils.R --- a/utils.R Wed Nov 21 11:20:17 2018 -0500 +++ b/utils.R Wed Nov 21 11:31:11 2018 -0500 |
| [ |
| @@ -141,7 +141,12 @@ label_str = "Number insects is 0"; tick_index = get_tick_index(i, last_tick, ticks, tick_labels, tick_sep); ticks[tick_index] = i; - tick_labels[tick_index] = label_str; + if (date_interval) { + # Append the day to label_str + tick_labels[tick_index] = paste(label_str, day, sep=" "); + } else { + tick_labels[tick_index] = label_str; + } last_tick = i; } else if (i == prepend_end_norm_row) { # Add a tick for the end of the 30 year normnals data |