Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@

- When `statistic == "min"` and `annotation %in% c("ws", "wd")`, the ws/wd returned will correspond to the minimum daily pollutant, rather than the minimum daily ws/wd.

- `timeProp()` refinements:

- `proportion` is now treated more like `type` internally. For a user, this means it can now be passed `"default"` to avoid any conditioning and create a regular period average barchart.

- `sub` can now be defined via `...`; set `sub = NA` to remove the text annotation which appears by default at the bottom of a `timeProp()` plot.

- Gained the `key` argument to remove a legend.

- `trajPlot()` and `trajLevel()` have gained the `grid.nx` and `grid.ny` arguments which can be used to control the number of ticks on the coordinate grid, or remove it altogether.

## Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion R/timePlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
#' directly. This offers great flexibility for understanding the variation of
#' different variables and how they depend on one another.
#'
#' Only one `type` is currently allowed in `timePlot`.
#' `type` must be of length one.
#' @param cols Colours to be used for plotting; see [openColours()] for details.
#' @param plot.type The `lattice` plot type, which is a line (`plot.type = "l"`)
#' by default. Another useful option is `plot.type = "h"`, which draws
Expand Down
Loading