- Support plotting of
c(0, 0, 0)
, at origin. - Require R 3.6.
- Remove 'viridis' dependency.
- Document reading data into R in vignette for new users.
- Provide package anchors in documentation pages.
- Improve support for
region
parameter.
region
parameter plots a sub-region of the ternary space.- Support
...
inTernaryContour(Func = function(...))
(#81).
Polygon-Geometry
now imported from PlotTools. Aliases of these functions are provided but will be removed in a later version of this package.- Use characters, not numerics, for version number checks (see https://bugs.r-project.org/show_bug.cgi?id=18548).
- New function
Annotate()
annotates points on ternary plot. - New option
filled
to produce filled contour lines inTernaryContour()
(#69). - Improve clarity of point size plotting example.
- Native colour bar support in
ColourTernary()
(#66). - Require R 3.5 (due to dependency on "rlang").
- Support independent labelling of axes.
- Fix regression that caused
col
parameter to be ignored. - Fix failure to plot grid when
grid.lines
is integer. - Mention
srt
graphical parameter inTernaryText()
documentation.
- Colour sub-region of ternary plot with
ColourTernary()
:- Add
Polygon-Geometry
functions for polygon manipulation. - Support
NA
values inColourTernary()
.
- Add
- Tidy code formatting and catch typos.
- Create Holdridge plots using
HoldridgePlot()
and related functions (#48). - Add
panel.first
andpanel.last
parameters toTernaryPlot()
(fixing #54). - Support graphical parameters (e.g.
xpd
) inTernaryPlot()
. - Add introductory vignette for new R users.
- Help diagnose non-installation of app.
- Default to upward direction if
TernaryPlot()
not yet called. - Improved input checking in
TernaryPointValues()
andTernaryContour()
, (#53), and avoid unnecessary calculations.
- Fix bug in
TernaryApp()
when 'colourpicker' not previously installed. - Update to 'testthat' edition 3.
- New vignette with interpolation example (#46).
- Document point styling in vignette.
TernaryCoords()
, aliasTernaryToXY()
, accepts matrices.
- Use package 'vdiffr' conditionally in tests.
- Trivial documentation improvements.
- Add Shiny user interface; launch with
TernaryApp()
. - Optional parameter
axis.rotate
to allow axis labels to be plotted 'unrotated' (#38). - Fix error in
xtip.rotate
(thanks @LSanselme). - Add examples to documentation.
- Support user-specified colours in
ColourTernary()
. - More options for controlling axis colours in
TernaryPlot()
. - Add examples to documentation.
- axis.labels example in vignette.
- Use
inherits
, notclass
[https://developer.r-project.org/Blog/public/2019/11/09/when-you-think-class.-think-again]. - Obey user-specified
direction
inTernaryContour()
andTernaryPointValues()
(thanks @pkR-pjR).
clockwise
parameter allows plots to be configured in 'flipped' orientation (#22)
TernaryArrows
adds arrows to a ternary plot.
- Add support for contour plots and density shading.
- Maintain isometry when one of
xlim
orylim
is specified. - Fix issues with
TernaryPlot()
documentation. - Remove names in
TernaryCoords()
.
- Improve configuration options by allowing:
- Custom colouration of axis text;
- Modification of axis tick length.
- Plot minor lines between grid lines, with options to customise appearance.
- Document magnification options.
- Add function
JoinTheDots()
to plot lines and points simultaneously. - Support
xlim
&ylim
forTernaryPlot()
. - Choose direction of plot using new
point
parameter. - Allow labelling of tips and of sides (
alab
becomesatip
). - Improved control over labelling of plot (
clab.rotate
parameter). - Improve documentation.
- Added colour-blind compatible colour palettes
cbPalette8
andcbPalette15
. - Support
lab.font
inTernaryPlot()
.
- Generates ternary plots with vertical left axis.