eliocamp/metR: metR 0.9.0 - Cirrus fibratus
Creators
Description
New Features
I'm very happy with
discretised_scale()
, which is a type of scale which takes a discrete values that are the result of some discretisation and treats them as continuous. It's, in a sense, the inverse of the newggplot2::binned_scale()
. Whereas.ggplot2::binned_scale()
takes continuous values and then discretises them,discretised_scale()
takes discrete values which where the result of some discretisation procedure (such as the levels ofgeom_contour_fill()
/ggplot2::geom_contour_filled()
) and allows you to treat them as continuous.Related to that,
geom_contour_fill()
now gains a new computed aesthetic calledlevel_d
, which is the same aslevel
but forces ggplot2 to automatically use the new discretised scale.AnchorBreaks()
gains abins
argument to mimic the default functionality ofMakeBreaks()
.New
label_placement_minmax()
to label contours at the maximum and minimum points of a contour (mimicking isoband's behaviour)geom_contour_tanaka()
now has a (rather experimental) argumentsmooth
which allows to smooth the transition between segments.
Fixes error introduced in previous version when
geom_arrow()
had mappings other thandx
anddy
. (Thanks Santiago!)The
level
derived aesthetic fromgeom_contour_fill()
now returns and ordered factor with the correct labels that can be interpreted byggplot2::guide_colorsteps()
. This might a breaking change!geom_label_contour()
lives! The previous release rewrote much of the waygeom_text_contour()
worked, but I messed up and didn't realised that the new code had brokengeom_label_contour()
(to be honest, I'd almost totally forgotten about it :P). (fixes #126, thanks @kongdd)
Files
eliocamp/metR-v0.9.0.zip
Files
(19.4 MB)
Name | Size | Download all |
---|---|---|
md5:23bcdcc467e6a2712c6d7e916d87585a
|
19.4 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/eliocamp/metR/tree/v0.9.0 (URL)