addTernary: Add Detail to a Ternary Diagram

View source: R/addTernary.R

addTernaryR Documentation

Add Detail to a Ternary Diagram

Description

Adds points or lines to a Ternary diagram.

Usage

addTernary(x, y, z, Plot = list(name = "", what = "points", type =
  "solid", width = "standard", symbol = "circle", filled = TRUE, size =
  0.09, color = "black"), current = list())

Arguments

x

the x-axis (bottom) data. Missing values are permitted, but result in breaks in the plotted data.

y

the y-axis (left side) data. Missing values are permitted, but result in breaks in the plotted data.

z

the z-axis (right side) data. Note that x, y, and z do not need to sum to the axis range. Missing values are permitted, but result in breaks in the plotted data.

Plot

parameters defining the characteristics of the plot. See setPlot for a description of the parameters.

current

the current plot information. Typically, this would be the output from one of the graph creation functions like ternaryPlot.

Value

Information about the graph.

See Also

ternaryPlot

Examples

## Not run: 
# See for examples of addTernary:
vignette(topic="PiperPlot", package="smwrGraphs")

## End(Not run)

USGS-R/smwrGraphs documentation built on Oct. 11, 2022, 6:11 a.m.